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-05 06:15:22 +02:00
|
|
|
- echo "using gcc ;" >~/user-config.jam
|
|
|
|
- echo "using clang ;" >>~/user-config.jam
|
2015-06-08 05:00:16 +02:00
|
|
|
- echo -n "using python " >>~/user-config.jam
|
2015-06-08 05:41:41 +02:00
|
|
|
- echo -n ":" >>~/user-config.jam
|
|
|
|
- echo " 2.7 ;" >>~/user-config.jam
|
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
|