travis: Fix faulty HAVE_GTK2 detection.

This commit is contained in:
Sam Edwards 2016-12-03 15:39:21 -08:00
parent 57fc514bab
commit a32ace7391

View File

@ -34,7 +34,7 @@ addons:
- zlib1g-dev
script:
- '[[ "$BUILDSYSTEM" != "makepanda" ]] || ( $PYTHONV makepanda/makepanda.py --everything --git-commit $TRAVIS_COMMIT $FLAGS --threads 4 && LD_LIBRARY_PATH=built/lib PYTHONPATH=built $PYTHONV makepanda/test_imports.py )'
- '[[ "$BUILDSYSTEM" != "cmake" ]] || ( mkdir build && cd build && cmake $FLAGS .. && make -j4 && make install DESTDIR=installdir && LD_LIBRARY_PATH=installdir/usr/local/lib PYTHONPATH=installdir/usr/lib*/python*/site-packages python ../makepanda/test_imports.py )'
- '[[ "$BUILDSYSTEM" != "cmake" ]] || ( mkdir build && cd build && cmake -DHAVE_GTK2=NO $FLAGS .. && make -j4 && make install DESTDIR=installdir && LD_LIBRARY_PATH=installdir/usr/local/lib PYTHONPATH=installdir/usr/lib*/python*/site-packages python ../makepanda/test_imports.py )'
notifications:
irc:
channels: