[INTEGRATION] update travis compilation
This commit is contained in:
parent
3c79dec2c8
commit
cefe0aacdb
20
.travis.yml
20
.travis.yml
@ -19,21 +19,19 @@ before_script:
|
|||||||
- cd ewol; git submodule init; cd ..
|
- cd ewol; git submodule init; cd ..
|
||||||
- cd ewol; git submodule update; cd ..
|
- cd ewol; git submodule update; cd ..
|
||||||
|
|
||||||
|
#install Gcc to have lisstdc++ 4.8 & gcc 4.8
|
||||||
install:
|
install:
|
||||||
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||||
- if [ "$CXX" == "g++" ]; then sudo apt-get update -qq; fi
|
- sudo apt-get update -qq
|
||||||
- if [ "$CXX" == "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
- sudo apt-get install -qq g++-4.8
|
||||||
- if [ "$CXX" == "g++" ]; then sudo rm /usr/bin/gcc /usr/bin/g++; fi
|
- sudo rm /usr/bin/gcc /usr/bin/g++
|
||||||
- if [ "$CXX" == "g++" ]; then sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc; fi
|
- sudo ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
|
||||||
- if [ "$CXX" == "g++" ]; then sudo ln -s /usr/bin/g++-4.8 /usr/bin/g++; fi
|
- sudo ln -s /usr/bin/g++-4.8 /usr/bin/g++
|
||||||
- if [ "$CXX" == "clang++" ]; then wget http://llvm.org/releases/3.4.1/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz; fi
|
|
||||||
- if [ "$CXX" == "clang++" ]; then tar xJf clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz; fi
|
|
||||||
- if [ "$CXX" == "clang++" ]; then export PATH=$PWD/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04/bin:$PATH; fi
|
|
||||||
|
|
||||||
# build sequence with Lutin :
|
# build sequence with Lutin :
|
||||||
script:
|
script:
|
||||||
- if [ "$CXX" == "clang++" ]; then ./ewol/build/lutin.py -C -cclang -mdebug -p edn; fi
|
- if [ "$CXX" == "clang++" ]; then ./ewol/build/lutin.py -C -P -cclang -mdebug -p edn; fi
|
||||||
- if [ "$CXX" == "g++" ]; then ./ewol/build/lutin.py -C -cgcc -mdebug -p edn; fi
|
- if [ "$CXX" == "g++" ]; then ./ewol/build/lutin.py -C -P -cgcc -mdebug -p edn; fi
|
||||||
|
|
||||||
#send e-mail on compilation result:
|
#send e-mail on compilation result:
|
||||||
notifications:
|
notifications:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user