-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (37 loc) · 1.44 KB
/
Copy path.travis.yml
File metadata and controls
38 lines (37 loc) · 1.44 KB
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
language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
#- "2.6"
- "2.7"
#- "3.3"
#- "3.4"
install:
- sudo apt-get update
# You may want to periodically update this, although the conda update
# conda line below will keep everything up-to-date. We do this
# conditionally because it saves us some downloading if the version is
# the same.
#latest version, 3.9.1 was built on 2015-02-25. To look for newer version,
#check out http://repo.continuum.io/miniconda/
#see this example in the docs for more information:
#http://conda.pydata.org/docs/travis.html
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-3.9.1-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.9.1-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- export PYTHONPATH="$HOME/build/mattgiguere:$PYTHONPATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- python setup.py install
# Useful for debugging any issues with conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy xlrd pandas nose coverage matplotlib
- source activate test-environment
script:
- nosetests --with-cov --config .coveragerc --logging-level=INFO
after_success:
- coveralls