esvg/.travis.yml

89 lines
2.8 KiB
YAML
Raw Permalink Normal View History

2015-12-02 21:43:29 +01:00
language: cpp
2016-10-24 22:25:37 +02:00
sudo: required
dist: trusty
2015-05-20 21:29:12 +02:00
branches:
only:
- master
- dev
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
2015-12-02 21:43:29 +01:00
- expect
2016-01-07 21:52:16 +01:00
- binutils-mingw-w64-x86-64 # 64bit MinGW
- gcc-mingw-w64-x86-64
- g++-mingw-w64-x86-64
2015-12-02 21:43:29 +01:00
matrix:
include:
- os: linux
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9" GCOV=--gcov
2015-12-02 21:43:29 +01:00
compiler: gcc
- os: linux
env: CONF=debug BUILDER=clang TARGET=Linux
compiler: clang
2016-01-07 21:52:16 +01:00
- os: linux
env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw
compiler: x86_64-w64-mingw32-gcc
2016-10-24 22:25:37 +02:00
- os: linux
env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p
compiler: gcc
2015-12-02 21:43:29 +01:00
- os: osx
env: CONF=release BUILDER=clang TARGET=MacOs TAG=MacOs
compiler: clang
- os: osx
env: CONF=release BUILDER=clang TARGET=IOs TAG=IOs
compiler: clang
install:
2015-12-02 21:43:29 +01:00
- cd ..
- pip install --user lutin
2015-12-02 21:43:29 +01:00
- 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 -
2015-09-14 21:11:04 +02:00
2015-05-20 21:29:12 +02:00
before_script:
- cd ..
2016-10-24 22:25:37 +02:00
- git clone https://github.com/atria-soft/elog.git -b $TRAVIS_BRANCH
- git clone https://github.com/atria-soft/ememory.git -b $TRAVIS_BRANCH
- git clone https://github.com/atria-soft/echrono.git -b $TRAVIS_BRANCH
- git clone https://github.com/atria-soft/etk.git -b $TRAVIS_BRANCH
- git clone https://github.com/atria-soft/exml.git -b $TRAVIS_BRANCH
2015-06-17 21:25:57 +02:00
- git clone https://github.com/generic-library/gtest-lutin.git --recursive
2015-12-02 21:43:29 +01:00
- git clone https://github.com/generic-library/z-lutin.git --recursive
2015-05-20 21:29:12 +02:00
- pwd
- ls -l
2015-12-02 21:43:29 +01:00
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
export PATH=$PATH:/Users/travis/Library/Python/2.7/bin/;
fi
- ./ci/build_send.py --tag=$TAG --status=START;
script:
2015-12-02 21:43:29 +01:00
- lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE esvg-test; STATUS=$?
- ./ci/build_send.py --tag=$TAG --status="$STATUS";
after_script:
- if [ "$GCOV" != "" ]; then
./ci/warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/esvg/;
fi
2016-10-24 22:25:37 +02:00
- lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE esvg-test?run:--elog-level=3 | tee out_test.txt
2015-12-02 21:43:29 +01:00
- if [ "$GCOV" != "" ]; then
./ci/test_send.py --file=out_test.txt;
lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p esvg?gcov;
2015-12-02 21:43:29 +01:00
./ci/coverage_send.py --json=out/Linux_x86_64/$CONF/build/$BUILDER/esvg/esvg_coverage.json;
fi
2015-05-20 21:29:12 +02:00
notifications:
email:
- yui.heero@gmail.com