[CI] correct build CI
This commit is contained in:
parent
2992699ec5
commit
156abe3533
21
.travis.yml
21
.travis.yml
@ -1,6 +1,8 @@
|
|||||||
#language: python
|
language: cpp
|
||||||
|
|
||||||
sudo: false
|
#sudo: false
|
||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
@ -24,14 +26,14 @@ addons:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux
|
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9"
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
- 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: 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
|
||||||
@ -43,6 +45,8 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- ./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/
|
||||||
- cd ..
|
- cd ..
|
||||||
# download NDK
|
# download NDK
|
||||||
- if [ "$TAG" == "Android" ]; then
|
- if [ "$TAG" == "Android" ]; then
|
||||||
@ -53,15 +57,16 @@ install:
|
|||||||
- cd -
|
- cd -
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- ./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/
|
|
||||||
- cd ..
|
- cd ..
|
||||||
- pwd
|
- pwd
|
||||||
- ls -l *
|
- ls -l
|
||||||
|
- 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;
|
- ./ci/build_send.py --tag=$TAG --status=START;
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./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=$?
|
- ./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=$?
|
||||||
- ./ci/build_send.py --tag=$TAG --status="$STATUS";
|
- ./ci/build_send.py --tag=$TAG --status="$STATUS";
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
Loading…
Reference in New Issue
Block a user