forked from hungpham2511/toppra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (36 loc) · 1.03 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: true
dist: trusty
language:
- generic
cache:
- apt
env:
- CI_SOURCE_PATH=$(pwd)
# Install package dependencies
before_install:
# Testing $DISPLAY
- echo $DISPLAY
# Install OpenRAVE
- mkdir -p ~/git; cd ~/git
- git clone https://github.com/crigroup/openrave-installation.git
- cd openrave-installation
- ./install-dependencies.sh
- ./install-fcl.sh
- ./install-openrave.sh
- sudo apt install python-tk
- pip install --ignore-installed cython matplotlib coverage python-coveralls --user
install:
# Install dependencies
- mkdir -p ~/git/ && cd ~/git/
- git clone https://github.com/hungpham2511/qpOASES
- cd qpOASES/ && mkdir bin && make
- cd interfaces/python/
- python setup.py install --user
script:
- cd $CI_SOURCE_PATH
- pip install -r requirements.txt --user
- python setup.py develop --user # need to run the develop command to have coverage working. install command (below) should work just fine.
# - python setup.py install --user
- py.test --cov=toppra tests
after_success:
- coveralls