forked from trichter/qopen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (35 loc) · 1.07 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
language: c
sudo: false
matrix:
include:
- os: linux
env: PYTHON_VERSION=3.7 FLAGS="-v -f -n 2"
- os: linux
env: PYTHON_VERSION=3.7 FLAGS="-v -f -n 1"
- os: linux
env: PYTHON_VERSION=3.5 FLAGS="-v -a -n 2"
- os: linux
env: PYTHON_VERSION=3.6 FLAGS="-v -a -n 2"
- os: linux
env: PYTHON_VERSION=3.7 FLAGS="-v -a -n 2"
- os: osx
env: PYTHON_VERSION=3.7 FLAGS="-v -a -n 2"
- os: windows
env: PYTHON_VERSION=3.7 FLAGS="-v -a -n 1"
before_install:
- wget https://raw.githubusercontent.com/trichter/conda4travis/latest/conda4travis.sh -O conda4travis.sh
- source conda4travis.sh
- conda config --add channels conda-forge
- conda create -q -n testenv python=$PYTHON_VERSION coverage matplotlib numpy scipy obspy statsmodels
- conda activate testenv
- conda list
install:
- pip install -v --no-deps .
script:
- mkdir empty; cd empty; cp ../.coveragerc ./
- travis_wait coverage run -m qopen.tests $FLAGS
after_success:
- coverage combine
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false