[CI] update CI

This commit is contained in:
Edouard DUPIN 2016-10-24 22:57:45 +02:00
parent 6ee0d38cc3
commit aef5975529

View File

@ -1,6 +1,7 @@
language: cpp language: cpp
sudo: false sudo: required
dist: trusty
branches: branches:
only: only:
@ -14,9 +15,9 @@ addons:
packages: packages:
- g++-4.9 - g++-4.9
- expect - expect
#- binutils-mingw-w64-x86-64 # 64bit MinGW - binutils-mingw-w64-x86-64 # 64bit MinGW
#- gcc-mingw-w64-x86-64 - gcc-mingw-w64-x86-64
#- g++-mingw-w64-x86-64 - g++-mingw-w64-x86-64
matrix: matrix:
include: include:
@ -26,9 +27,9 @@ matrix:
- os: linux - os: linux
env: CONF=debug BUILDER=clang TARGET=Linux env: CONF=debug BUILDER=clang TARGET=Linux
compiler: clang compiler: clang
#- os: linux - os: linux
# env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw env: CONF=release BUILDER=gcc TARGET=Windows TAG=Mingw
# compiler: x86_64-w64-mingw32-gcc compiler: x86_64-w64-mingw32-gcc
- os: linux - os: linux
env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p env: CONF=release BUILDER=gcc TARGET=Android TAG=Android DISABLE_PACKAGE=-p
compiler: gcc compiler: gcc
@ -75,14 +76,14 @@ before_script:
- ./ci/build_send.py --tag=$TAG --status=START; - ./ci/build_send.py --tag=$TAG --status=START;
script: script:
- lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE gale gale-sample-basic; STATUS=$? - lutin -w -j4 -C -P -t$TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF $GCOV $DISABLE_PACKAGE gale gale-sample; STATUS=$?
- ./ci/build_send.py --tag=$TAG --status="$STATUS"; - ./ci/build_send.py --tag=$TAG --status="$STATUS";
after_script: after_script:
- if [ "$GCOV" != "" ]; then - if [ "$GCOV" != "" ]; then
./ci/warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/gale/; ./ci/warning_send.py --find-path ./out/Linux_x86_64/$CONF/build/$BUILDER/gale/;
fi fi
- ./out/Linux_x86_64/$CONF/staging/$BUILDER/gale-sample-basic/gale-sample-basic.app/bin/gale-sample-basic --etk-log-level=6 | tee out_test.txt #- ./out/Linux_x86_64/$CONF/staging/$BUILDER/gale-sample-basic/gale-sample.app/bin/gale-sample --elog-level=6 | tee out_test.txt
- if [ "$GCOV" != "" ]; then - if [ "$GCOV" != "" ]; then
./ci/test_send.py --file=out_test.txt; ./ci/test_send.py --file=out_test.txt;
lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p gale?gcov; lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p gale?gcov;