forked from DiamondLightSource/Savu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 820 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
cache: apt
sudo: true
language: python
python:
- "2.7"
- "3.3"
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- gfortran
- libhdf5-serial-dev
- libboost-all-dev
before_install:
- wget https://repo.continuum.io/miniconda/Miniconda2-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
install:
- conda env create --file environment.yml
- source activate test-environment
- python setup.py install
script:
- py.test scripts/configurator_tests/ -v
- py.test savu/test/travis -v --cov savu --cov-report term-missing
after_script:
- coveralls
allow_failures:
- python: "3.3"