forked from maahn/pamtra2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·32 lines (32 loc) · 878 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
language: python
cache:
directories:
- "$HOME/.cache/pip"
- "$HOME/.pyenv"
matrix:
include:
- os: linux
dist: trusty
sudo: required
python: '3.6'
# - os: osx
# python: '3.6'
# osx_image: xcode9.4
git:
depth: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install lapack fftw gfortran; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq gcc gfortran liblapack-dev libfftw3-dev ; fi
- pip install --upgrade Cython
- pip install --upgrade numpy>=1.14
- pip install --upgrade pytest>=3.6
- pip install --upgrade setuptools>=41
- pip install coveralls pytest-cov
install:
- python setup.py install
script:
- pytest --cov=pamtra2
after_success:
- coveralls