[CI] update travis build env
This commit is contained in:
parent
7731ab5858
commit
70b293622b
@ -21,7 +21,7 @@ addons:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9"
|
env: CONF=release BUILDER=gcc TARGET=Linux TAG=Linux COMPILATOR_OPTION="--compilator-version=4.9" GCOV=--gcov
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CONF=debug BUILDER=clang TARGET=Linux
|
env: CONF=debug BUILDER=clang TARGET=Linux
|
||||||
@ -52,9 +52,6 @@ install:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cd ..
|
- cd ..
|
||||||
- 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
|
|
||||||
- mkdir bin
|
- mkdir bin
|
||||||
- curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
|
- curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
|
||||||
- chmod a+x bin/repo
|
- chmod a+x bin/repo
|
||||||
@ -83,10 +80,10 @@ 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 -l6 | tee out_test.txt
|
- ./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
|
||||||
- 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 $TARGET -c $BUILDER $COMPILATOR_OPTION -m $CONF -p gale?gcov;
|
lutin -C -P -t $TARGET -c $BUILDER $COMPILATOR_OPTION $BUS -m $CONF -p gale?gcov;
|
||||||
./ci/coverage_send.py --json=out/Linux_x86_64/$CONF/build/$BUILDER/gale/gale_coverage.json;
|
./ci/coverage_send.py --json=out/Linux_x86_64/$CONF/build/$BUILDER/gale/gale_coverage.json;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
31
README.md
31
README.md
@ -45,6 +45,37 @@ Developement (dev)
|
|||||||
Instructions
|
Instructions
|
||||||
============
|
============
|
||||||
|
|
||||||
|
download Build system:
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
sudo pip install lutin
|
||||||
|
sudo pip install pillow
|
||||||
|
|
||||||
|
need google repo:
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
see: http://source.android.com/source/downloading.html#installing-repo
|
||||||
|
|
||||||
|
mkdir ~/.bin
|
||||||
|
PATH=~/.bin:$PATH
|
||||||
|
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
|
||||||
|
chmod a+x ~/.bin/repo
|
||||||
|
|
||||||
|
|
||||||
|
download the software:
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
mkdir WORKING_DIRECTORY
|
||||||
|
cd WORKING_DIRECTORY
|
||||||
|
repo init -u git://github.com/atria-soft/manifest.git
|
||||||
|
repo sync -j8
|
||||||
|
|
||||||
|
Compile software:
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
cd WORKING_DIRECTORY
|
||||||
|
lutin gale-sample-basic
|
||||||
|
|
||||||
|
|
||||||
License (APACHE v2.0)
|
License (APACHE v2.0)
|
||||||
=====================
|
=====================
|
||||||
|
@ -25,7 +25,7 @@ def get_maintainer():
|
|||||||
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
return [0,0,0]
|
return [0,5,"dev"]
|
||||||
|
|
||||||
def create(target, module_name):
|
def create(target, module_name):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user