[DEV] update travis file

This commit is contained in:
Edouard DUPIN 2015-06-17 21:25:57 +02:00
parent 9b2ca6cf9c
commit 729e2ea450

30
.travis.yml Normal file
View File

@ -0,0 +1,30 @@
language: cpp
compiler:
- clang
- gcc
os:
- linux
- osx
before_script:
- if [ "$CXX" == "clang++" ]; then BUILDER=clang; else BUILDER=gcc; fi
install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq g++-4.9
- sudo apt-get install -qq libstdc++-4.9-dev
- sudo rm /usr/bin/gcc /usr/bin/g++
- sudo ln -s /usr/bin/gcc-4.9 /usr/bin/gcc
- sudo ln -s /usr/bin/g++-4.9 /usr/bin/g++
- sudo pip install lutin
script:
- lutin -C -P -c$BUILDER -mdebug -p date
notifications:
email:
- yui.heero@gmail.com