ege/.travis.yml

60 lines
1.4 KiB
YAML
Raw Normal View History

2015-06-17 21:25:57 +02:00
language:
- cpp
sudo: false
2015-06-17 21:25:57 +02:00
os:
- linux
- osx
2015-06-17 21:25:57 +02:00
branches:
only:
- master
- dev
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
install:
- pip install --user lutin
2015-09-24 21:44:04 +02:00
env:
- CONF=debug BOARD=Linux BUILDER=clang GCOV=
- CONF=release BOARD=Linux BUILDER=clang GCOV=
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=
- CONF=release BOARD=Linux BUILDER=gcc GCOV=
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=--gcov
before_script:
2015-06-17 21:25:57 +02:00
- cd ..
2015-09-24 21:44:04 +02:00
- wget http://atria-soft.com/ci/coverage_send.py
- wget http://atria-soft.com/ci/test_send.py
- wget http://atria-soft.com/ci/warning_send.py
2015-06-17 21:25:57 +02:00
- mkdir bin
- curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
- chmod a+x bin/repo
- git config --global user.email "travis@travis.com"
- git config --global user.name "Travis"
- git config --global color.ui "auto"
- git config --global core.editor "vi"
- mkdir WORKING_DIRECTORY
- cd WORKING_DIRECTORY
- ../bin/repo init -u https://github.com/atria-soft/manifest.git
- ../bin/repo sync -j8
- rm -rf atria-soft/ege
- cd ..
- pwd
- ls -l
2015-09-24 21:44:04 +02:00
- if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
script:
2015-09-24 21:44:04 +02:00
- lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p ege egeCameraPosition egeCollision egeDoubleView egeMeshCreator egeRayTest
2015-06-17 21:25:57 +02:00
notifications:
email:
- yui.heero@gmail.com