forked from wackywendell/parm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (27 loc) · 873 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
sudo: false
language: python
python:
- "3.3"
- "3.4"
# For Ubuntu, in general the following packages are needed (for Python 3):
# swig libeigen3-dev python3-dev python3-numpy python3-nose python3-setuptools
# build-essential libboost-all-dev python3-pip
# Most of these should come with the Travis install.
addons:
apt:
packages:
- swig
- libeigen3-dev
- libboost-all-dev
before_install:
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
- pip install numpy nose transforms3d
- pip --version
- export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/usr/include/eigen3"
install:
- swig -version
- make all wraps
- sed -i 's/<:/< :/g' pyparm/sim_wrap*.cxx # fix digraph issue. This is fixed in newer versions of swig (>3.0.2)
- python setup.py build_ext --inplace
script:
- nosetests .