Run model unit tests in virtual X fb.

This commit is contained in:
Jim Evins
2017-11-24 16:53:03 -05:00
parent c9f2b91daf
commit a48a929006
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ before_install:
- sudo apt-get update -qq
install:
- sudo apt-get -y install qt59base qt59svg qt59tools zlib1g-dev
- sudo apt-get -y install qt59base qt59svg qt59tools zlib1g-dev xvfb
- source /opt/qt5*/bin/qt5*-env.sh
script:
@@ -16,7 +16,7 @@ script:
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- make -j4
- make test
- xvfb-run make test
- sudo make DESTDIR=appdir install ; sudo chown -R $USER appdir ; find appdir/
after_success: