Travis CI: Try making the tests work
This commit is contained in:
parent
9e54e5a49c
commit
d55422e0a5
|
@ -9,12 +9,14 @@ compiler:
|
||||||
- gcc
|
- gcc
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
|
- export DISPLAY=:99.0
|
||||||
|
- export NO_AT_BRIDGE=1
|
||||||
|
- sh -e /etc/init.d/xvfb start
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install -y libgtk-3-dev liblua5.2-dev libjson-glib-dev
|
- sudo apt-get install -y libgtk-3-dev liblua5.2-dev libjson-glib-dev
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
env: NO_AT_BRIDGE=1
|
|
||||||
script:
|
script:
|
||||||
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
|
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=ON
|
||||||
- make
|
- make
|
||||||
|
|
|
@ -118,7 +118,7 @@ point_array_test_remove (PointArray *fixture, gconstpointer user_data)
|
||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
gtk_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
/* Creation. */
|
/* Creation. */
|
||||||
g_test_add_func ("/point-array/new", point_array_test_new);
|
g_test_add_func ("/point-array/new", point_array_test_new);
|
||||||
|
|
Loading…
Reference in New Issue