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