premiere-libtorrent/.travis.yml

38 lines
1006 B
YAML
Raw Normal View History

2015-06-05 02:15:57 +02:00
language: cpp
env:
- variant=test_debug
- variant=test_release
- variant=test_barebones
install:
- 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
- ccache -V
- which $CXX
- ls -la `which $CXX`
2015-06-20 16:40:47 +02:00
2015-06-25 04:26:21 +02:00
cache: ccache
2015-06-05 02:15:57 +02:00
script:
- cd test
2015-06-25 06:29:38 +02:00
- bjam -j 4 variant=$variant warnings=off -l900 $CC
- cd ../examples
2015-06-25 07:00:17 +02:00
- bjam -j 1 variant=$variant warnings=off $CC
- cd ../bindings/python
2015-06-25 07:00:17 +02:00
- bjam -j 1 variant=$variant warnings=off $CC
2015-06-20 22:54:20 +02:00
- ccache --show-stats
compiler:
- gcc
- clang
2015-06-05 02:15:57 +02:00
2015-06-05 02:27:13 +02:00
os:
- linux
- osx