Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Ignore cloudformation yaml directory for travis testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Niall Creech committed Jul 10, 2017
1 parent 731b0fa commit 427c6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -16,8 +16,8 @@ script:
- |
set -e -o pipefail;
if [ "$TRAVIS_PULL_REQUEST" != "false" ]
then git diff $TRAVIS_COMMIT_RANGE !(docs) | flake8 --diff;
else git fetch -q origin master:origin/master && git diff origin/master... !(docs) | flake8 --diff
then git diff $TRAVIS_COMMIT_RANGE !(docs) | flake8 --diff --exclude tests/cloudformation;
else git fetch -q origin master:origin/master && git diff origin/master... !(docs) | flake8 --diff --exclude tests/cloudformation
fi
# Then run the tests
Expand Down

0 comments on commit 427c6a6

Please sign in to comment.