-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
47 lines (42 loc) · 1.13 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
43
44
45
46
47
branches:
only:
- master
matrix:
allow_failures:
- os: osx
include:
- os: linux
dist: trusty
language: python
python: 2.7
sudo: required
apt:
packages:
- python-tk
- Pmw
install:
- pip install --upgrade pip
- pip install numpy==1.13.1
- pip install cython==0.26
- pip install scikit-learn==0.19.0
- pip install scipy==0.19.1
- pip install matplotlib==2.0.2
- pip install mdtraj==1.8.0
- sudo apt-get install python-tk
- wget http://download.sourceforge.net/pmw/Pmw.1.3.tar.gz
- tar -xvf Pmw.1.3.tar.gz
- mv ./src/Pmw /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages
- mv ./src/setup.py /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages
- cd /home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/Pmw
- ls
- pwd
- sudo python ../setup.py install
- ls /home/travis/build/
- cd /home/travis/build/RUBi-ZA/pyMODE-TASK
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- ls
- ./tests/test_pyMODE-TASK.sh