Skip to content

Commit

Permalink
Fixes acquia#1812: Linting .travis.yml via travis gem.
Browse files Browse the repository at this point in the history
git commit -m Fixes
  • Loading branch information
grasmash committed Jul 18, 2017
1 parent cf39f0a commit 38200de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ addons:
before_install:
# Exit build early if only documentation was changed in a Pull Request.
- source ${BLT_DIR}/scripts/travis/exit_early
- gem install travis
- yes n | travis lint
# Decrypt private SSH key id_rsa_blt.enc, save as ~/.ssh/id_rsa_blt.
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then openssl aes-256-cbc -K $encrypted_c0b166e924da_key -iv $encrypted_c0b166e924da_iv -in id_rsa_blt.enc -out ~/.ssh/id_rsa -d; chmod 600 ~/.ssh/id_rsa; ls -lash ~/.ssh; eval "$(ssh-agent -s)"; ssh-add ~/.ssh/id_rsa; fi
- phpenv config-rm xdebug.ini
Expand Down
2 changes: 2 additions & 0 deletions scripts/travis/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ notifications:
# - slack: '<account>:<token>#[channel]'

before_install:
- gem install travis
- yes n | travis lint
# Disable xdebug.
- phpenv config-rm xdebug.ini
- composer self-update
Expand Down

0 comments on commit 38200de

Please sign in to comment.