-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (23 loc) · 750 Bytes
/
.travis.yml
File metadata and controls
29 lines (23 loc) · 750 Bytes
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
language: python
sudo: false
python:
- "2.7"
- "3.5"
install:
- conda update --yes conda
- conda create -n testenv --yes numpy scipy pandas nose python=$TRAVIS_PYTHON_VERSION
- conda install -n testenv -c soft-matter --yes pims trackpy
- source activate testenv
- python setup.py build_ext install
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ];
then
wget http://repo.continuum.io/miniconda/Miniconda-3.7.3-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.7.3-Linux-x86_64.sh -O miniconda.sh;
fi
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/mc
- export PATH=/home/travis/mc/bin:$PATH
script:
- nosetests --nologcapture