folder for all Travis CI files and scripts (#117)

* add .travis folder

- gather all travis related files in one folder
- update location calls

* Move verify_files back out

* Update .travis.yml

* Move deploy_key to .travis folder
This commit is contained in:
tooomm 2017-07-11 14:30:14 +02:00 committed by GitHub
parent 2b41643255
commit 0b0c19ca06
4 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ before_install:
install:
- pip install -r requirements.txt
script: bash ./deploy.sh
script: bash ./.travis/deploy.sh
after_script:
- sleep 10 # helps travis finish logging
@ -26,7 +26,7 @@ notifications:
- https://webhooks.gitter.im/e/691b9acffe1def5f9d6b
on_success: change # options: [always|never|change] default: always
on_failure: change # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
deploy:
provider: releases

View File

@ -67,7 +67,7 @@ ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in ../deploy_key.enc -out ../deploy_key -d
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in ../.travis/deploy_key.enc -out ../deploy_key -d
chmod 600 ../deploy_key
eval `ssh-agent -s`
ssh-add ../deploy_key

View File

@ -21,4 +21,4 @@ if __name__ == '__main__':
card_corrections = load_file('cards_corrections.yml','yaml')
delete_cards = load_file('cards_delete.yml','yaml')
print "Pre-flight: All input files loaded successfully."
print "Pre-flight: All input files loaded successfully."