From e77fb8a6e7a77a0f3d2b816a18dc7be9e786a645 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 8 May 2017 16:27:21 +0300 Subject: Add tests on travis --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.travis.yml') 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 -- cgit 1.4.1