-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
45 lines (39 loc) · 994 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
34
35
36
37
38
39
40
41
42
43
44
45
sudo: false
cache:
directories:
- $HOME/download
- $HOME/.cache/pip
language: python
python:
- "2.7"
- "3.5"
before_install:
- mkdir -p download
- cd download
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda
- cd ..
- export PATH=/home/travis/miniconda/bin:$PATH
- conda info -a
- conda update --yes conda
- conda install --yes pip
- conda install --yes pillow
- conda install --yes pyqt
- conda install --yes numpy
- conda install --yes nose
install:
- pip install -r requirements.txt
- python setup.py install
- conda list
script:
- python --version
branches:
only:
- master
notifications:
email: false