-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
45 lines (38 loc) · 1.01 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
sudo: required # or false
language: python
cache: pip
python:
- 2.7
- 3.7
env:
- YAMBO_VERSION=4.4 PW_VERSION=6.3
# - any combination of versions
matrix:
allow_failures:
- python: 3.5 # Builds using this version can fail without compromising the end result
fast_finish: true # Don't wait for the test on Py3.5 to finish to ack
# Add to the matrix of jobs
# - os: osx
# language: objective-c
# env: PYENV_VERSION=2.7.12
# - os: osx
# language: objective-c
# env: PYENV_VERSION=3.5.2
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq gfortran libopenmpi-dev openmpi-bin libblas-dev liblapack-dev libfftw3-dev libnetcdf-dev libhdf5-serial-dev
before_script:
- "export MPLBACKEND=Agg"
install:
- "pip install -r ./tests/requirements.txt"
- "./tests/install.sh"
- "python setup.py install"
script:
- "py.test -s --cov-config=.coveragerc --cov"
# safelist
branches:
only:
- master
- travis
- devel-alejandro
- master-whypy