Skip to content

Commit

Permalink
TST: Install dependencies with Conda on py3.6 (googleapis#62)
Browse files Browse the repository at this point in the history
Cover dependency installation via Conda in one of the tests.
  • Loading branch information
tswast authored and parthea committed Jun 28, 2017
1 parent 4b04174 commit b0b0260
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ language: python
env:
- PYTHON=2.7 PANDAS=0.19.2 COVERAGE='false' LINT='true'
- PYTHON=3.5 PANDAS=0.18.1 COVERAGE='true' LINT='false'
- PYTHON=3.6 PANDAS=0.20.1 COVERAGE='false' LINT='true'
- PYTHON=3.6 PANDAS=MASTER COVERAGE='false' LINT='false'
- PYTHON=3.6 PANDAS=0.20.1 COVERAGE='false' LINT='false'
- PYTHON=3.6 PANDAS=MASTER COVERAGE='false' LINT='true'

before_install:
- echo "before_install"
Expand All @@ -19,6 +19,7 @@ install:
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels pandas
- conda config --add channels conda-forge
- conda update -q conda
- conda info -a
- conda create -n test-environment python=$PYTHON
Expand All @@ -31,8 +32,12 @@ install:
conda install pandas=$PANDAS;
fi
- pip install coverage pytest pytest-cov flake8 codecov
- REQ="ci/requirements-${PYTHON}-${PANDAS}.pip"
- pip install -r $REQ
- REQ="ci/requirements-${PYTHON}-${PANDAS}"
- if [ -f "$REQ.pip" ]; then
pip install -r "$REQ.pip";
else
conda install --file "$REQ.conda";
fi
- conda list
- python setup.py install

Expand Down
File renamed without changes.

0 comments on commit b0b0260

Please sign in to comment.