forked from NLeSC/mcfly-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 769 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
dist: trusty
sudo: false
python:
#- "3.5" # nosetest fails
- "3.6"
#- "3.7"
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes
- conda update -q conda
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pip numpy
- source activate test-environment
- conda install -q pip openblas numpy scipy pandas
- "pip install -q nose"
- "pip install coverage"
- "pip install --upgrade pip"
- "pip install mcfly"
install:
- "echo done"
# command to run tests, e.g. python setup.py test
script:
- nosetests
after_script:
- "pip install scrutinizer-ocular"
- "ocular"