-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
33 lines (27 loc) · 813 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
# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
env:
global:
- TEST_DIR=/tmp/supersmoother/
- CONDA_DEPS="numpy scipy nose coverage"
before_install:
- export MINICONDA=$HOME/miniconda
- export PATH="$MINICONDA/bin:$PATH"
- hash -r
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -f -p $MINICONDA
- conda config --set always_yes yes
- conda update conda
- conda info -a
- conda install python=$TRAVIS_PYTHON_VERSION $CONDA_DEPS
install:
- python setup.py install
script:
- mkdir -p $TEST_DIR
- cd $TEST_DIR && nosetests -v --with-doctest --with-coverage --cover-package=supersmoother supersmoother