2015-06-05 02:15:57 +02:00
|
|
|
language: cpp
|
|
|
|
|
2015-06-15 02:37:14 +02:00
|
|
|
env:
|
|
|
|
- variant=test_debug
|
|
|
|
- variant=test_release
|
|
|
|
- variant=test_barebones
|
|
|
|
|
|
|
|
install:
|
2015-06-05 08:31:52 +02:00
|
|
|
- if [ $TRAVIS_OS_NAME == linux ]; then sudo add-apt-repository -y ppa:boost-latest/ppa; sudo apt-get update -qq; fi
|
2015-06-08 04:10:10 +02:00
|
|
|
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install libboost1.54-all-dev python2.7-dev; fi
|
|
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then sudo brew install boost boost-build python27-dev; fi
|
2015-06-20 18:09:04 +02:00
|
|
|
- 'echo "using gcc : : ccache g++ ;" >~/user-config.jam'
|
|
|
|
- 'echo "using clang : : ccache clang++ ;" >>~/user-config.jam'
|
|
|
|
- 'echo "using python : 2.7 ;" >>~/user-config.jam'
|
2015-06-20 16:40:47 +02:00
|
|
|
- ccache --show-stats
|
2015-06-20 17:08:26 +02:00
|
|
|
- ccache -V
|
|
|
|
- which $CXX
|
|
|
|
- ls -la `which $CXX`
|
2015-06-20 16:40:47 +02:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.ccache
|
2015-06-05 02:15:57 +02:00
|
|
|
|
|
|
|
script:
|
2015-06-05 03:58:02 +02:00
|
|
|
- cd test
|
2015-06-15 02:37:14 +02:00
|
|
|
- bjam -j2 variant=$variant warnings=off -l900 $CC
|
2015-06-06 08:16:22 +02:00
|
|
|
- cd ../examples
|
2015-06-15 02:37:14 +02:00
|
|
|
- bjam -j2 variant=$variant warnings=off $CC
|
2015-06-06 08:16:22 +02:00
|
|
|
- cd ../bindings/python
|
2015-06-15 02:37:14 +02:00
|
|
|
- bjam -j2 variant=$variant warnings=off $CC
|
2015-06-05 03:58:02 +02:00
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2015-06-05 02:15:57 +02:00
|
|
|
|
2015-06-05 02:27:13 +02:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|