1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/.travis.yml

49 lines
1.2 KiB
YAML
Raw Normal View History

2014-07-12 16:35:55 +03:00
language: cpp
2016-10-11 23:52:47 +02:00
os:
- linux
- osx
dist: trusty
sudo: required
2014-07-12 20:20:02 +03:00
2014-07-12 16:35:55 +03:00
before_install:
2016-10-11 23:52:47 +02:00
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then . .travis.linux; fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then . .travis.osx; fi
2014-07-12 16:35:55 +03:00
before_script:
- mkdir build
- cd build
2016-10-11 23:52:47 +02:00
- cmake -G "Unix Makefiles" ..
2014-07-12 16:35:55 +03:00
script:
2016-10-11 23:52:47 +02:00
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then cd ..; xcodebuild -project osx/osx-vcmibuilder/vcmibuilder.xcodeproj/ -configuration Release CONFIGURATION_BUILD_DIR=..; cd build; fi
- make -j2
2014-07-13 11:44:39 +03:00
2014-07-12 20:20:02 +03:00
env:
- ignore=this
2014-07-13 11:44:39 +03:00
2014-07-12 19:50:48 +03:00
matrix:
2014-07-12 20:20:02 +03:00
exclude:
- env: ignore=this
2014-07-12 19:50:48 +03:00
include:
2016-10-11 23:52:47 +02:00
- os: linux
compiler: clang
env: REAL_CC=clang-3.4 REAL_CXX=clang++-3.4 PACKAGE=clang-3.4 SUPPORT=libstdc++-4.8-dev
- os: linux
compiler: clang
2016-09-04 12:49:03 +02:00
env: REAL_CC=clang-3.5 REAL_CXX=clang++-3.5 PACKAGE=clang-3.5 SUPPORT=libstdc++-4.8-dev
2016-10-11 23:52:47 +02:00
- os: linux
compiler: clang
2016-09-04 12:49:03 +02:00
env: REAL_CC=clang-3.6 REAL_CXX=clang++-3.6 PACKAGE=clang-3.6 SUPPORT=libstdc++-4.8-dev
2016-10-11 23:52:47 +02:00
- os: linux
compiler: gcc
2016-09-04 12:49:03 +02:00
env: REAL_CC=gcc-4.8 REAL_CXX=g++-4.8 PACKAGE=g++-4.8 SUPPORT=
2016-10-11 23:52:47 +02:00
- os: osx
2014-07-13 11:44:39 +03:00
2014-07-12 16:35:55 +03:00
notifications:
email:
recipients:
- vcmi.fail@mixaill.tk
- saven.ivan@gmail.com
2014-07-12 16:35:55 +03:00
on_success: change
on_failure: always