Skip to content

Commit

Permalink
Merge pull request #17 from madhead/develop
Browse files Browse the repository at this point in the history
Fix madhead#51: Setup Travis CI for madhead/doktor
  • Loading branch information
madhead authored Oct 24, 2017
2 parents f7688f7 + e4b0d96 commit dd0a6b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

set -x

if [[ ${TRAVIS_BRANCH} == 'master' ]] && [[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && [[ $(git cat-file -p ${TRAVIS_COMMIT} | grep -o 'parent' | wc -l) -gt 1 ]]; then
if [[ ${TRAVIS_REPO_SLUG} == 'jenkinsci/doktor-plugin' ]] && \
[[ ${TRAVIS_BRANCH} == 'master' ]] && \
[[ ${TRAVIS_PULL_REQUEST} == 'false' ]] && \
[[ $(git cat-file -p ${TRAVIS_COMMIT} | grep -o 'parent' | wc -l) -gt 1 ]]
then
SECRETS=$(mktemp -d)

openssl aes-256-cbc -K $encrypted_6ae40059dfe6_key -iv $encrypted_6ae40059dfe6_iv -in .travis/secrets.tar.enc -out ${SECRETS}/secrets.tar -d
Expand Down

0 comments on commit dd0a6b6

Please sign in to comment.