forked from jrkerns/pylinac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (41 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
48
49
50
51
language: python
python:
- "3.3"
- "3.4"
- "3.5"
sudo:
false
install:
# Install conda
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
# Set up conda
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pip setuptools pillow pyqt scikit-image
- source activate test-environment
# install deps
- pip install pydicom
- pip install coveralls
- pip install watchdog
- pip install requests
- pip install jinja2
- pip install mpld3
# install your own package into the environment
- python setup.py install
# attempt to fix DISPLAY variable errors of matplotlib's. See: https://github.com/mwaskom/seaborn/pull/97
- cp tests/matplotlibrc .
# test script
script:
# - python setup.py test
- coverage run --source=pylinac setup.py test
after_success:
coveralls
notifications:
email: false
branches:
except:
- minified