Skip to content

Commit 62c13c2

Browse files
committed
[travis] Attempt to run tests without pandas installed
1 parent 3b3240c commit 62c13c2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ matrix:
1717
env: PANDAS_VERSION_STR="=0.18.0"
1818
- python: 2.7
1919
env: PANDAS_VERSION_STR="=0.18.0"
20+
# make sure it works without pandas
21+
- python: 3.5
22+
env: PANDAS_VERSION_STR="NONE"
23+
- python: 2.7
24+
env: PANDAS_VERSION_STR="NONE"
2025

2126
# This disables sudo, but makes builds start much faster
2227
# See http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
@@ -36,7 +41,7 @@ before_install:
3641
- conda info -a
3742
- conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION numpy scipy coverage nose pip
3843
- source activate testenv
39-
- conda install pandas${PANDAS_VERSION_STR}
44+
- if [ "$PANDAS_VERSION_STR" != "NONE" ]; then conda install pandas${PANDAS_VERSION_STR}; fi
4045
install:
4146
- python setup.py sdist
4247
- pip install dist/*

0 commit comments

Comments
 (0)