Add the steps to setup gbq integration testing to the contributing docs by parthea · Pull Request #14144 · pandas-dev/pandas (original) (raw)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to move this check OUT of .travis.yml and actually put in a separate (yaml or txt) type of file, then you don't have to do all of this crazy sub/replace stuff, just have a file like

TRAVIS_IV=....
GBQ_PROJECT_ID=...

then simply re-write the file

then .travis.yml section is:

ci\travis_process_gbq_encryption.sh

ci\travis_process_gbq_encryption.sh

# read the variables / project id from the file
 - if [ -n '$encrypted_f44557bb53ea_iv' ]; then
         openssl aes-256-cbc -K $encrypted_f44557bb53ea_key
         -iv $encrypted_f44557bb53ea_iv -in ci/travis_gbq.json.enc
          -out ci/travis_gbq.json -d;
         export GBQ_PROJECT_ID='pandas-140401';