-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
40 lines (36 loc) · 1.33 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
matrix:
include:
- os: linux
python: 3.5
env: PYTHON_VERSION=3.5
- os: linux
python: 3.6
env: PYTHON_VERSION=3.6
- os: osx
language: generic
env:
- PYTHON_VERSION=3.5
- os: osx
language: generic
env:
- PYTHON_VERSION=3.6
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$PYTHON_VERSION" == 3.* ]]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" && "$PYTHON_VERSION" == 3.* ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
# - conda update --yes conda
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
- conda config --add channels conda-forge
- echo $PYTHON_VERSION
- conda create -n testenv python=$PYTHON_VERSION --yes
- source activate testenv
- pip install PyQt5
install:
- conda install --yes python=$PYTHON_VERSION nose pandas pyparsing six scikit-learn cloudpickle joblib ipython pip ipython
- conda install --yes -c uwmagellan py_stringsimjoin=0.1.0
- pip install requests
- pip install -r requirements.txt
script:
- nosetests -s