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

Commit

Permalink
Merge pull request #175 from FormidableLabs/update-chromatic
Browse files Browse the repository at this point in the history
only run chromatic once
  • Loading branch information
boygirl authored Apr 18, 2018
2 parents 2907cca + c30be28 commit addadf1
Show file tree
Hide file tree
Showing 3 changed files with 213 additions and 167 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ node_js:
# Use container-based Travis infrastructure.
sudo: false

# TODO(957): Re-enable `pull_request` only builds.
# https://github.com/FormidableLabs/victory/issues/957
# branches:
# only:
# - master
branches:
only:
- master

before_install:
# GUI for real browsers.
Expand All @@ -22,8 +20,8 @@ before_install:
script:
- npm --version
- node_modules/.bin/builder run check-ci
# Only run on push events.
- if [ "${TRAVIS_EVENT_TYPE}" = "push" ]; then npm run chromatic-test; fi
# Only run chromatic once
- if [ "${TRAVIS_NODE_VERSION}" = "6" ]; then npm run chromatic-test; fi
# Prune deps to just production and ensure we can still build
- npm prune --production
- node_modules/.bin/builder run build
Expand Down
Loading

0 comments on commit addadf1

Please sign in to comment.