forked from rock-learning/bolero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 1.25 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: cpp
compiler: gcc
dist: trusty
branches:
only:
- master
- /\d+\.\d+\..+/
before_script:
- sudo apt-get update -qq
- sudo apt-get install -qq python-dev python-pip python-matplotlib python-tk libboost-all-dev libeigen3-dev libqt4-dev libtinyxml-dev pkg-config libyaml-cpp-dev libblas-dev liblapack-dev gfortran
- sudo apt-get remove python-numpy
- sudo pip install --upgrade pip
- sudo pip install numpy pyyaml cython joblib pandas bs4 nose
- export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- mkdir -p ../build; cd ../build; cp ../bolero/bootstrap_bolero.sh .; ./bootstrap_bolero.sh; rm -rf bolero-dev/learning/bolero/; mv ../bolero bolero-dev/learning; cd bolero-dev; source env.sh; pybob/pybob.py install
- sudo apt-get remove python-scipy
- sudo pip install scipy scikit-learn gym==0.10.0
script:
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- cd /home/travis/build/rock-learning/build/bolero-dev; source env.sh; cd learning/bolero; nosetests -sv
- cat /home/travis/build/rock-learning/build/bolero-dev/autoproj/bob/logs/*.txt
notifications:
recipients:
email:
on_success: change
on_failure: always