<commit_before>sudo: false

language: python

env:
  - PYTHON=2.7 PANDAS=0.19.2 COVERAGE='false'
  - PYTHON=3.4 PANDAS=0.18.1 COVERAGE='false'
  - PYTHON=3.5 PANDAS=0.19.2 COVERAGE='true'
  - PYTHON=3.6 PANDAS=0.19.2 COVERAGE='false'

before_install:
  - echo "before_install"
  - source ci/travis_process_gbq_encryption.sh

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
  - conda install pandas=$PANDAS
  - pip install coverage pytest pytest-cov flake8 codecov
  - REQ="ci/requirements-${PYTHON}.pip"
  - pip install -r $REQ
  - conda list
  - python setup.py install

script:
  - pytest -s -v --cov=pandas_gbq --cov-report xml:/tmp/pytest-cov.xml pandas_gbq
  - flake8 pandas_gbq -v

after_success:
  - if [[ $COVERAGE == 'true' ]]; then codecov ; fi<commit_msg>only lint 3.6 build<commit_after>sudo: false

language: python

env:
  - PYTHON=2.7 PANDAS=0.19.2 COVERAGE='false' LINT='false'
  - PYTHON=3.4 PANDAS=0.18.1 COVERAGE='false' LINT='false'
  - PYTHON=3.5 PANDAS=0.19.2 COVERAGE='true' LINT='false'
  - PYTHON=3.6 PANDAS=0.19.2 COVERAGE='false' LINT='true'

before_install:
  - echo "before_install"
  - source ci/travis_process_gbq_encryption.sh

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
  - conda install pandas=$PANDAS
  - pip install coverage pytest pytest-cov flake8 codecov
  - REQ="ci/requirements-${PYTHON}.pip"
  - pip install -r $REQ
  - conda list
  - python setup.py install

script:
  - pytest -s -v --cov=pandas_gbq --cov-report xml:/tmp/pytest-cov.xml pandas_gbq
  - if [[ $COVERAGE == 'true' ]]; then codecov ; fi
  - if [[ $LINT == 'true' ]]; flake8 pandas_gbq -v ; fi
{'fraction_non_alphanumeric': 0.13774220724515585, 'fraction_numerical': 0.02780117944397641, 'mean_word_length': 3.233511586452763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1714577', 'n_tokens_mistral': 989, 'n_tokens_neox': 963, 'n_words': 213}