This repository was archived by the owner on Jun 10, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (34 loc) · 1.14 KB
/
.travis.yml
File metadata and controls
39 lines (34 loc) · 1.14 KB
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
sudo: false
language: python
env:
- PYTHON=2.7 PANDAS=0.17.1 LINT='true'
- PYTHON=3.5 PANDAS=0.18.1
- PYTHON=2.7 PANDAS=0.19.2
- PYTHON=3.6 PANDAS=0.20.2 LINT='true'
- PYTHON=3.6 PANDAS=MASTER
before_install:
- echo "before_install"
install:
- wget http://repo.continuum.io/miniconda/Miniconda3-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 always_yes yes --set changeps1 no
- conda config --add channels pandas
- conda update -q conda
- conda info -a
- conda create -n test-environment python=$PYTHON
- source activate test-environment
- if [[ "$PANDAS" == "MASTER" ]]; then
conda install numpy pytz python-dateutil;
PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com";
pip install --pre --upgrade --timeout=60 -f $PRE_WHEELS pandas;
else
conda install nomkl pandas=$PANDAS;
fi
- pip install pytest flake8
- conda list
- python setup.py install
script:
- ./test_fast.sh
- if [[ $LINT == 'true' ]]; then flake8 pandas_compat -v ; fi