Skip to content

Commit

Permalink
fix(CI): speed up PR builds by only downloading the cfn spec and rege…
Browse files Browse the repository at this point in the history
…nerating resources on cron schedule (not on every build)
  • Loading branch information
PaulMaddox committed Mar 9, 2019
1 parent a9b368a commit 7ae2a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ install: true

after_success:
# Check for updated CloudFormation resources, and submit a PR
# - test "${TRAVIS_EVENT_TYPE}" = "cron" && ./generate/create-pull-request.sh
- ./generate/create-pull-request.sh
- test "${TRAVIS_EVENT_TYPE}" = "cron" && ./generate/create-pull-request.sh
# - ./generate/create-pull-request.sh

deploy:
provider: script
Expand Down

0 comments on commit 7ae2a32

Please sign in to comment.