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

59 lines
1.5 KiB
YAML
Raw Normal View History

2016-09-04 12:49:03 +02:00
sudo: required
dist: trusty
2014-07-12 16:35:55 +03:00
language: cpp
2014-07-12 20:20:02 +03:00
2014-07-12 16:35:55 +03:00
before_install:
2014-07-12 19:50:48 +03:00
#new Clang
- sudo add-apt-repository --yes ppa:h-rayflood/llvm
2014-07-12 16:35:55 +03:00
#new SDL2
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
#new Qt
2016-09-04 12:49:03 +02:00
- sudo add-apt-repository --yes ppa:beineri/opt-qt57-trusty
2014-10-12 17:38:29 +03:00
#new CMake
2016-09-04 12:49:03 +02:00
- sudo add-apt-repository --yes ppa:george-edison55/cmake-3.x
2014-07-12 16:35:55 +03:00
- sudo apt-get update -qq
2014-07-13 11:44:39 +03:00
2014-07-13 11:33:44 +03:00
- sudo apt-get install -qq $SUPPORT
2014-07-12 19:50:48 +03:00
- sudo apt-get install -qq $PACKAGE
2016-09-04 12:49:03 +02:00
- sudo apt-get install -qq cmake libboost1.54-all-dev zlib1g-dev
2014-07-12 16:35:55 +03:00
- sudo apt-get install -qq libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
2014-07-13 11:44:39 +03:00
- sudo apt-get install -qq libavformat-dev libswscale-dev
2016-09-04 12:49:03 +02:00
- sudo apt-get install -qq qt57declarative
2015-04-01 22:02:19 +02:00
2014-07-12 19:50:48 +03:00
#setup compiler
2016-09-04 12:49:03 +02:00
- source /opt/qt57/bin/qt57-env.sh
2014-07-12 19:50:48 +03:00
- export CC=${REAL_CC} CXX=${REAL_CXX}
2014-07-12 16:35:55 +03:00
before_script:
- mkdir build
- cd build
- cmake ..
script:
2014-07-12 20:20:02 +03:00
- make
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:
- compiler: clang
2016-09-04 12:49:03 +02:00
env: REAL_CC=clang-3.4 REAL_CXX=clang++-3.4 PACKAGE=clang-3.4 SUPPORT=libstdc++-4.8-dev
2014-07-12 19:50:48 +03:00
- 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
- compiler: clang
env: REAL_CC=clang-3.6 REAL_CXX=clang++-3.6 PACKAGE=clang-3.6 SUPPORT=libstdc++-4.8-dev
- compiler: gcc
env: REAL_CC=gcc-4.8 REAL_CXX=g++-4.8 PACKAGE=g++-4.8 SUPPORT=
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