forked from Dioptas/Dioptas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (32 loc) · 980 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
31
32
33
34
35
36
37
38
39
40
41
42
# Config file for automatic testing at travis-ci.org
language: python
sudo: required
services:
- xvfb
python:
- 3.6
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda3/bin:$PATH
- conda install --yes python=3.6;
- conda update --yes conda
- export PYTHONPATH=$PWD/dioptas:$PYTHONPATH
#start x-server
- export DISPLAY=:99.0
addons:
apt:
packages:
- gfortran
- libgfortran3
install:
- conda install --yes pycifrw pandas python-dateutil h5py scikit-image future qtpy pyfai lmfit mock pytest pytest-cov pyqtgraph -c cprescher
- pip install pyepics
- cd dioptas/model/util/
- f2py -c -m smooth_bruckner smooth_bruckner.f95
- cd ../../../
script:
- py.test dioptas/tests/unit_tests
- py.test dioptas/tests/controller_tests
- py.test dioptas/tests/functional_tests