forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (47 loc) · 1.34 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: python
python:
# We don't actually use the system Python but this keeps it organized.
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
-
- PYCOSAT=0.6.0
matrix:
exclude:
- python: "3.5"
env: PYCOSAT=0.6.0
install:
# TODO: Use a "latest" url
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda-3.5.2-Linux-x86_64.sh -O miniconda.sh;
elif [[ "$TRAVIS_PYTHON_VERSION" == "3.3" ]]; then
wget http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh -O miniconda.sh;
else
wget http://repo.continuum.io/miniconda/Miniconda3-3.5.2-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes
- bin/conda install --force --no-deps conda requests
- conda --version
- conda install -c conda pytest requests mock conda-env pycrypto pyflakes python=$TRAVIS_PYTHON_VERSION
- if [[ "$PYCOSAT" ]]; then
conda install pycosat=$PYCOSAT;
fi
- python setup.py install
- conda info -a
script:
- shopt -s extglob globstar
- pyflakes conda/**/!(compat|__init__).py bin setup.py tests
- py.test
- conda --help
notifications:
flowdock: ef3821a08a791106512ccfc04c92eccb
addons:
apt:
packages:
- zsh
sudo: false