Skip to content

Commit

Permalink
Remove unused Travis deploy stage (#3340)
Browse files Browse the repository at this point in the history
* Remove unused Travis deploy stage

* Remove obsolete bin/deploy-travis-pantheon.sh and deployment-targets cache
  • Loading branch information
westonruter authored Sep 24, 2019
1 parent 0c627dc commit 3ab585c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 119 deletions.
19 changes: 0 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ cache:
- $HOME/.npm
- $HOME/.nvm/.cache
- $HOME/phpunit-bin
- $HOME/deployment-targets

branches:
only:
Expand Down Expand Up @@ -160,21 +159,3 @@ jobs:
- bash <(curl -s https://codecov.io/bash) -cF php -f /tmp/wordpress/src/wp-content/plugins/amp/build/logs/clover.xml
- npm run test:js -- --collectCoverage
- bash <(curl -s https://codecov.io/bash) -cF javascript -f build/logs/lcov.info

- stage: deploy
if: type = push AND fork = false AND ( branch =~ ^[a-z][a-z0-9-]{0,10}$ OR branch =~ ^[0-9]+\.[0-9]+$ ) AND NOT branch IN ( live, test, dev, settings, team, support, debug, multidev, files, tags, billing )
php: "7.1"
env: WP_VERSION=latest DEV_LIB_ONLY=composer,grunt
script:
- |
eval "$(ssh-agent -s)"
pantheon_branch=$( echo $TRAVIS_BRANCH | sed 's/^\([0-9]\)/v\1/' | sed 's/[^a-z0-9-]/-/' )
echo "Initializing deployment to Pantheon branch: $pantheon_branch"
openssl aes-256-cbc -K $encrypted_7eb11f40d4e9_key -iv $encrypted_7eb11f40d4e9_iv -in bin/keys/id_rsa_ampconfdemo.enc -out bin/keys/id_rsa_ampconfdemo -d
chmod 600 bin/keys/id_rsa_ampconfdemo
./bin/deploy-travis-pantheon.sh \
ampconfdemo \
db7f3307-9808-4753-aaa4-acb387c94472 \
$(pwd)/bin/keys/id_rsa_ampconfdemo \
$pantheon_branch
after_script: skip
99 changes: 0 additions & 99 deletions bin/deploy-travis-pantheon.sh

This file was deleted.

Binary file removed bin/keys/id_rsa_ampconfdemo.enc
Binary file not shown.
1 change: 0 additions & 1 deletion bin/keys/id_rsa_ampconfdemo.pub

This file was deleted.

0 comments on commit 3ab585c

Please sign in to comment.