-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
46 lines (40 loc) · 1.34 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
language: python
python:
- 3.5
services:
- xvfb
before_install:
- sudo mkdir -p /downloads
- sudo chmod a+rw /downloads
- curl -L http://sourceforge.net/projects/pyqt/files/sip/sip-4.16.5/sip-4.16.5.tar.gz -o /downloads/sip.tar.gz
- curl -L http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.3/PyQt-x11-gpl-4.11.3.tar.gz -o /downloads/pyqt4.tar.gz
# Builds
- sudo mkdir -p /builds
- sudo chmod a+rw /builds
install:
- export DISPLAY=:99.0
- sudo apt-get install -y libqt4-dev
- sudo apt-get install -y mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev
# - sudo apt-get install -y python3-sip python3-sip-dev python3-pyqt4 cmake
# Qt4
- pushd /builds
# SIP
- tar xzf /downloads/sip.tar.gz --keep-newer-files
- pushd sip-4.16.5
- python configure.py
- make
- sudo make install
- popd
# PyQt4
- tar xzf /downloads/pyqt4.tar.gz --keep-newer-files
- pushd PyQt-x11-gpl-4.11.3
- python configure.py -c --confirm-license --no-designer-plugin -e QtCore -e QtGui -e QtTest
- make
- sudo make install
- popd
# Builds Complete
- popd
#- pip install -r requirements.txt
- pip install numpy pandas matplotlib scipy
script: python ./src/_testing_refcurv.py
#nosetests --exe --with-coverage --cover-erase --cover-package= ./src/refcurv.py