forked from elfi-dev/elfi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (28 loc) · 860 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
matrix:
include:
- os: linux
language: python
python: 3.6
- os: linux
language: python
python: 3.7
- os: osx
language: generic
before_install:
- mkdir -p /Users/travis/.matplotlib
- "echo 'backend: TkAgg' > /Users/travis/.matplotlib/matplotlibrc"
- travis_retry wget "http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh" -O miniconda.sh
- "bash miniconda.sh -b -p $HOME/miniconda"
- "export PATH=$HOME/miniconda/bin:$PATH"
- "conda create -y -n elfi python=3.6 scipy"
- "source activate elfi"
cache: pip
install:
- pip install numpy
- pip install -r requirements-dev.txt
- pip install -e .
- pip install "dask[distributed]" --upgrade
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ipcluster start -n 2 --daemonize ; fi
#- travis_wait 20 make test
- make test