-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.travis.yml
36 lines (30 loc) · 1.02 KB
/
.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
34
35
36
language: generic
sudo: false
env:
- PYTHON_VERSION=2.7 CONDA_VERSION=4.2.16
- PYTHON_VERSION=3.5 CONDA_VERSION=4.2.16
- PYTHON_VERSION=3.6 CONDA_VERSION=4.2.16
- PYTHON_VERSION=2.7 CONDA_VERSION=4.3.21
- PYTHON_VERSION=3.5 CONDA_VERSION=4.3.21
- PYTHON_VERSION=3.6 CONDA_VERSION=4.3.21
- PYTHON_VERSION=2.7 CONDA_VERSION=4.5.3
- PYTHON_VERSION=3.5 CONDA_VERSION=4.5.3
- PYTHON_VERSION=3.6 CONDA_VERSION=4.5.3
install:
- export CONDA_BASE=http://repo.continuum.io/miniconda/Miniconda3
- wget ${CONDA_BASE}-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set show_channel_urls True
- conda install --yes python=$PYTHON_VERSION --file requirements.txt
- conda config --set auto_update_conda False
- conda install --yes conda=$CONDA_VERSION
- python setup.py version
- python setup.py install
script:
- which python
- which conda
- conda info
- conda execute --help
- ./tests/run_tests.sh