2015-06-05 02:15:57 +02:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
before_script:
|
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
|
|
|
|
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install libboost1.54-all-dev; fi
|
2015-06-05 02:38:50 +02:00
|
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then sudo brew install boost boost-build; fi
|
2015-06-05 06:15:22 +02:00
|
|
|
- echo "using gcc ;" >~/user-config.jam
|
|
|
|
- echo "using clang ;" >>~/user-config.jam
|
2015-06-05 02:15:57 +02:00
|
|
|
|
|
|
|
script:
|
2015-06-05 03:58:02 +02:00
|
|
|
- cd test
|
2015-06-05 23:59:19 +02:00
|
|
|
- bjam -j2 warnings=off -l600 $CC
|
2015-06-07 06:23:30 +02:00
|
|
|
- bjam -j2 variant=test_debug warnings=off -l600 $CC
|
2015-06-06 08:16:22 +02:00
|
|
|
- cd ../examples
|
|
|
|
- bjam -j2 variant=test_debug warnings=off $CC
|
2015-06-05 23:59:19 +02:00
|
|
|
- bjam -j2 variant=test_barebones warnings=off $CC
|
2015-06-06 08:16:22 +02:00
|
|
|
- bjam -j2 variant=test_release warnings=off $CC
|
|
|
|
- cd ../bindings/python
|
2015-06-05 23:59:19 +02:00
|
|
|
- bjam -j2 variant=test_debug warnings=off $CC
|
2015-06-06 08:16:22 +02:00
|
|
|
- bjam -j2 variant=test_barebones warnings=off $CC
|
2015-06-05 23:59:19 +02:00
|
|
|
- bjam -j2 variant=test_release 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
|