[DEV] update Build interface
This commit is contained in:
parent
4f538a72c1
commit
7d2449b7da
19
.travis.yml
19
.travis.yml
@ -3,10 +3,6 @@ language:
|
||||
|
||||
sudo: false
|
||||
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
@ -26,8 +22,18 @@ addons:
|
||||
install:
|
||||
- pip install --user lutin
|
||||
|
||||
env:
|
||||
- CONF=debug BOARD=Linux BUILDER=clang GCOV=
|
||||
- CONF=release BOARD=Linux BUILDER=clang GCOV=
|
||||
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=
|
||||
- CONF=release BOARD=Linux BUILDER=gcc GCOV=
|
||||
- CONF=debug BOARD=Linux BUILDER=gcc GCOV=--gcov
|
||||
|
||||
before_script:
|
||||
- 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
|
||||
- git clone https://github.com/atria-soft/etk.git
|
||||
- git clone https://github.com/atria-soft/exml.git
|
||||
- git clone https://github.com/atria-soft/libagg.git
|
||||
@ -35,11 +41,10 @@ before_script:
|
||||
- git clone https://github.com/generic-library/freetype-lutin.git --recursive
|
||||
- pwd
|
||||
- ls -l
|
||||
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
|
||||
- if [ "$CXX" == "g++" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
|
||||
- if [ "$BUILDER" == "gcc" ]; then COMPILATOR_OPTION="--compilator-version=4.9"; else COMPILATOR_OPTION=""; fi
|
||||
|
||||
script:
|
||||
- lutin -C -P -c$BUILDER $COMPILATOR_OPTION -mdebug -p esvg
|
||||
- lutin -w -j4 -C -P -c $BUILDER $COMPILATOR_OPTION -m $CONF $GCOV -p esvg
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
@ -22,8 +22,26 @@ def create(target):
|
||||
'esvg/Rectangle.cpp',
|
||||
'esvg/Renderer.cpp',
|
||||
'esvg/Stroking.cpp',
|
||||
'esvg/Text.cpp'])
|
||||
myModule.add_export_path(tools.get_current_path(__file__))
|
||||
'esvg/Text.cpp'
|
||||
])
|
||||
|
||||
myModule.add_header_file([
|
||||
'esvg/Base.h',
|
||||
'esvg/Circle.h',
|
||||
'esvg/Ellipse.h',
|
||||
'esvg/Group.h',
|
||||
'esvg/Line.h',
|
||||
'esvg/esvg.h',
|
||||
'esvg/Path.h',
|
||||
'esvg/Polygon.h',
|
||||
'esvg/Polyline.h',
|
||||
'esvg/Rectangle.h',
|
||||
'esvg/Renderer.h',
|
||||
'esvg/Stroking.h',
|
||||
'esvg/Text.h'
|
||||
])
|
||||
|
||||
myModule.add_path(tools.get_current_path(__file__))
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user