Skip to content

Commit

Permalink
Do not run visual tests for pull_request builds
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Jun 14, 2017
1 parent 5376c98 commit 1ec626d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ install:
- polymer install --variants

script:
# test against Polymer 2
- gemini test test/visual
- gemini test test/visual -c .gemini-ie.yml
- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then
gemini test test/visual;
gemini test test/visual -c .gemini-ie.yml;

# test against Polymer 1
- rm -rf bower_components
- mv bower_components-1.x bower_components
- gemini test test/visual
- gemini test test/visual -c .gemini-ie.yml
rm -rf bower_components;
mv bower_components-1.x bower_components;
gemini test test/visual;
gemini test test/visual -c .gemini-ie.yml;
fi

0 comments on commit 1ec626d

Please sign in to comment.