matrixion/.travis.yml

32 lines
921 B
YAML
Raw Normal View History

2017-04-09 03:54:39 +03:00
language: cpp
sudo: required
dist: trusty
2017-04-09 18:19:22 +03:00
notifications:
email: false
2017-04-09 03:54:39 +03:00
matrix:
include:
- os: osx
osx_image: xcode7
compiler: clang
- os: osx
osx_image: xcode8
compiler: clang
- os: linux
compiler: gcc
- os: linux
compiler: clang
2017-05-08 16:27:21 +03:00
before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/gtest.sh; fi
2017-04-09 03:54:39 +03:00
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
2017-05-08 16:27:21 +03:00
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/install-deps.sh; fi
2017-04-09 03:54:39 +03:00
before_script:
2017-04-27 01:40:26 +03:00
- if [ $TRAVIS_OS_NAME == linux ]; then source /opt/qt58/bin/qt58-env.sh; fi
2017-04-09 03:54:39 +03:00
- cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
script:
- make -C build -j2
2017-05-08 16:27:21 +03:00
- if [ $TRAVIS_OS_NAME == linux ]; then ./.ci/linux/run-tests.sh; fi