diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-09 03:54:39 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-09 03:54:39 +0300 |
commit | 3d3f2ec33e88bd86b0ee7b5aad11c7d2b7dfc0a0 (patch) | |
tree | 67a4e4dfd2ec2eac18fbbe250dc27e2857272f7c /.travis.yml | |
parent | Clear text fields after login (diff) | |
download | nheko-3d3f2ec33e88bd86b0ee7b5aad11c7d2b7dfc0a0.tar.xz |
Add travis CI
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..04921694 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: cpp +sudo: required +dist: trusty + +matrix: + include: + - os: osx + osx_image: xcode7 + compiler: clang + - os: osx + osx_image: xcode8 + compiler: clang + - os: linux + compiler: gcc + - os: linux + compiler: clang +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 +before_script: + - if [ $TRAVIS_OS_NAME == linux ]; then source /opt/qt56/bin/qt56-env.sh; fi + - cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release +script: + - make -C build -j2 |