diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-05-08 16:27:21 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-05-08 16:27:21 +0300 |
commit | e77fb8a6e7a77a0f3d2b816a18dc7be9e786a645 (patch) | |
tree | 5b70476585c3675e279e0c60914ecf3df4e1e540 /.travis.yml | |
parent | Fix windows build (diff) | |
download | nheko-e77fb8a6e7a77a0f3d2b816a18dc7be9e786a645.tar.xz |
Add tests on travis
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f763bec1..cdd88920 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,12 +17,15 @@ matrix: compiler: gcc - os: linux compiler: clang +before_install: + - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/gtest.sh; fi install: - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install qt5; fi - if [ $TRAVIS_OS_NAME == osx ]; then export CMAKE_PREFIX_PATH=/usr/local/opt/qt5; fi - - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux.sh ; fi + - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/install-deps.sh; fi before_script: - if [ $TRAVIS_OS_NAME == linux ]; then source /opt/qt58/bin/qt58-env.sh; fi - cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release script: - make -C build -j2 + - if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/run-tests.sh; fi |