@@ -13,33 +13,34 @@ before_install:
13
13
- source ci/travis_process_gbq_encryption.sh
14
14
15
15
install :
16
- - REQ="ci/requirements-${PYTHON}-${PANDAS}"
16
+ - REQ="ci/requirements-${PYTHON}-${PANDAS}" ;
17
17
if [ -f "$REQ.pip" ]; then
18
- pip install --upgrade nox-automation
18
+ pip install --upgrade nox-automation ;
19
19
else
20
20
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
21
- bash miniconda.sh -b -p $HOME/miniconda
22
- export PATH="$HOME/miniconda/bin:$PATH"
23
- hash -r
24
- conda config --set always_yes yes --set changeps1 no
25
- conda config --add channels pandas
26
- conda config --add channels conda-forge
27
- conda update -q conda
28
- conda info -a
29
- conda create -q -n test-environment python=$PYTHON
30
- source activate test-environment
21
+ bash miniconda.sh -b -p $HOME/miniconda ;
22
+ export PATH="$HOME/miniconda/bin:$PATH" ;
23
+ hash -r ;
24
+ conda config --set always_yes yes --set changeps1 no ;
25
+ conda config --add channels pandas ;
26
+ conda config --add channels conda-forge ;
27
+ conda update -q conda ;
28
+ conda info -a ;
29
+ conda create -q -n test-environment python=$PYTHON ;
30
+ source activate test-environment ;
31
31
conda install -q pandas=$PANDAS;
32
- pip install coverage pytest pytest-cov flake8 codecov
32
+ pip install coverage pytest pytest-cov flake8 codecov ;
33
33
conda install -q --file "$REQ.conda";
34
- conda list
35
- python setup.py install
34
+ conda list ;
35
+ python setup.py install ;
36
36
fi
37
37
38
38
script :
39
39
- if [[ $PYTHON == '2.7' ]]; then nox -s test27 ; fi
40
40
- if [[ $PYTHON == '3.5' ]]; then nox -s test35 ; fi
41
41
- if [[ $PYTHON == '3.6' ]] && [[ "$PANDAS" == "MASTER" ]]; then nox -s test36master ; fi
42
- - if [ -f "$REQ.conda" ]; then
42
+ - REQ="ci/requirements-${PYTHON}-${PANDAS}" ;
43
+ if [ -f "$REQ.conda" ]; then
43
44
pip install coverage pytest pytest-cov codecov ;
44
45
pytest -v --cov=pandas_gbq --cov-report xml:/tmp/pytest-cov.xml pandas_gbq ;
45
46
fi
0 commit comments