lutin/.travis.yml

75 lines
2.0 KiB
YAML
Raw Normal View History

2016-10-28 00:14:33 +02:00
language: cpp
2015-10-22 21:01:35 +02:00
2016-10-28 00:14:33 +02:00
#sudo: false
sudo: required
dist: trusty
2015-10-22 21:01:35 +02:00
branches:
only:
- master
- dev
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- expect
2015-11-02 21:55:32 +01:00
- binutils-mingw-w64-i686 # 32bit MinGW
2015-10-22 21:01:35 +02:00
- gcc-mingw-w64-i686
- g++-mingw-w64-i686
2015-11-02 21:55:32 +01:00
- binutils-mingw-w64-x86-64 # 64bit MinGW
- gcc-mingw-w64-x86-64
- g++-mingw-w64-x86-64
2015-10-22 21:01:35 +02:00
matrix:
include:
- os: linux
2016-10-28 00:14:33 +02:00
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9"
2015-11-02 21:55:32 +01:00
compiler: gcc
2015-10-22 21:01:35 +02:00
- os: linux
env: CONF=debug BUILDER=clang TARGET=Linux
2015-11-02 21:55:32 +01:00
compiler: clang
2015-10-22 21:01:35 +02:00
- os: linux
env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw
2016-10-28 00:14:33 +02:00
compiler: x86_64-w64-mingw32-gcc
2015-10-22 21:01:35 +02:00
- os: linux
2015-10-29 21:19:29 +01:00
env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p
2015-11-02 21:55:32 +01:00
compiler: gcc
2015-10-22 21:01:35 +02:00
- os: osx
env: CONF=release BUILDER=clang TARGET=MacOs TAG=MacOs
2015-11-02 21:55:32 +01:00
compiler: clang
2015-10-22 21:01:35 +02:00
- os: osx
env: CONF=release BUILDER=clang TARGET=IOs TAG=IOs
2015-11-02 21:55:32 +01:00
compiler: clang
2015-10-22 21:01:35 +02:00
install:
2016-10-28 00:14:33 +02:00
- ./setup.py build
- export PYTHONPATH=$PYTHONPATH:./lutin/build/lib.linux-x86_64-2.7/:./lutin/build/lib.linux-x86_64-2.7/lutin/:./lutin/build/lib:./lutin/build/lib/lutin/
2015-10-22 21:01:35 +02:00
- cd ..
# download NDK
- if [ "$TAG" == "Android" ]; then
git clone --depth 1 --branch master https://github.com/HeeroYui/android-download-tool;
./android-download-tool/dl-android.sh;
fi
- git clone --depth 1 --branch master https://github.com/atria-soft/ci.git
- cd -
before_script:
- cd ..
- pwd
2016-10-28 00:14:33 +02:00
- ls -l
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
export PATH=$PATH:/Users/travis/Library/Python/2.7/bin/;
fi
2015-10-22 21:01:35 +02:00
- ./ci/build_send.py --tag=$TAG --status=START;
script:
2016-10-28 00:14:33 +02:00
- ./lutin/build/scripts-2.7/lutin -w -j4 -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE test-c; STATUS=$?
2015-10-22 21:01:35 +02:00
- ./ci/build_send.py --tag=$TAG --status="$STATUS";
notifications:
email:
- yui.heero@gmail.com