[CI] travis update for lutin pip & ewol repo interface

This commit is contained in:
Edouard DUPIN 2015-05-20 21:13:48 +02:00
parent e0bf7c77c2
commit 4e527931c7

View File

@ -38,21 +38,31 @@ branches:
# previous actions: # previous actions:
before_script: before_script:
- git clone https://github.com/HeeroYui/lutin.git - cd ..
- git clone https://github.com/HeeroYui/monk.git - mkdir bin
- git clone https://github.com/HeeroYui/ewol.git - curl https://storage.googleapis.com/git-repo-downloads/repo > bin/repo
- cd ewol; git checkout origin/dev -b dev; cd .. - chmod a+x bin/repo
- cd ewol; git submodule init; cd .. - git config --global user.email "travis@travis.com"
- cd ewol; git submodule update; cd .. - git config --global user.name "Travis"
- git config --global color.ui "auto"
- git config --global core.editor "vi"
- mkdir framework
- cd framework
- ../bin/repo init -u https://github.com/HeeroYui/manifest.git
- ../bin/repo sync -j8
- cd ..
- pwd
- ls -l
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi - if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
#install Gcc to have lisstdc++ 4.8 & gcc 4.8 #install Gcc to have lisstdc++ 4.9 & gcc 4.9
install: install:
- echo "BUILDER = $BUILDER" - echo "BUILDER = $BUILDER"
- echo "BOARD = $BOARD" - echo "BOARD = $BOARD"
- echo "CONF = $CONF" - echo "CONF = $CONF"
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo pip install lutin
- if [ "$BOARD" == "Linux" ]; then sudo apt-get install -qq libstdc++-4.9-dev; fi - if [ "$BOARD" == "Linux" ]; then sudo apt-get install -qq libstdc++-4.9-dev; fi
- if [ "$BOARD" == "Linux" ]; then sudo apt-get install -qq g++-4.8; fi - if [ "$BOARD" == "Linux" ]; then sudo apt-get install -qq g++-4.8; fi