forked from jjgoings/McMurchie-Davidson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (31 loc) · 808 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
language: python
os:
- linux
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
addons:
apt:
packages:
- libopenblas-base
- libopenblas-dev
- liblapack-dev
- gfortran
before_install:
- pip install --upgrade pip
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install homebrew/science/openblas; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install lapack; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gfortran; fi
install:
- pip install codecov
- pip install -r requirements.txt
- python setup.py build_ext --inplace --define CYTHON_TRACE
script: "nosetests --with-coverage"
after_success:
- codecov
notifications:
email: false