-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtravis_template.yml
45 lines (38 loc) · 1019 Bytes
/
travis_template.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
language: python
sudo: required
env:
global:
- NUMPY_VERISON=1.13
notifications:
email:
recipients:
-
on_success:
on_failure:
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
env: COMPILER=gcc PYTHON_VERSION=
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- os: linux
dist: trusty
sudo: required
compiler: gcc
env: COMPILER=gcc PYTHON_VERSION=
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
install:
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda create -q --yes -n test python=$PYTHON_VERSION
- source activate test
- conda install -q --yes -c asmeurer gsl
- conda install -q --yes -c anaconda gcc
- pip install -r requirements.txt
before_script:
script: