-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (32 loc) · 982 Bytes
/
.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
29
30
31
32
33
34
35
36
37
38
env:
global:
- CASADIVERSION=3.1.0
dist: trusty
language: generic
before_script:
- set -e
script:
- popd
- cd examples
- |
cat <<EOF > matplotlibrc
backend : Template
EOF
- python sysid.py && python multipleshooting.py && python misc.py && python inverse.py && python rosenbrock.py && python fit.py && python codegen.py
branches:
except:
- /.*appveyor.*/
before_install:
- export MATPLOTLIBRC=`pwd`
- |
cat <<EOF >matplotlibrc
backend : Template
EOF
- sudo apt-get update -qq
- sudo apt-get install -y python-numpy python-scipy python-matplotlib
- pushd ../../
- wget http://sourceforge.net/projects/casadi/files/CasADi/$CASADIVERSION/linux/casadi-py27-np1.9.1-v$CASADIVERSION.tar.gz/download -O casadi.tar.gz
- mkdir casadi-build && tar -xf casadi.tar.gz -C casadi-build
- ls casadi-build
- pwd
- export PYTHONPATH=$PYTHONPATH:/home/travis/build/casadi-build/:/home/travis/build/casadi/python-optistack/