forked from equadratures/equadratures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (42 loc) · 977 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
39
40
41
42
43
44
45
46
47
48
49
50
cache: apt
sudo: false
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
addons:
apt:
packages:
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
# blocklist
# Block all /*feature*/ branches
# Anything within /_>/ is treated as a Regex
branches:
except:
- /*feature*/
# safelist
# Only Build and Test changes of the master branch
branches:
only:
- master
before_install:
- travis_retry wget http://repo.continuum.io/miniconda/Miniconda-3.8.3-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
- source activate test
- conda install --yes numpy scipy matplotlib pip nose
- pip install setuptools
- python setup.py install
- pip install coveralls
- pip install ray
script: coverage run test.py tests/*
after_success:
coveralls