Skip to content

Commit

Permalink
add cypress to cache
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed May 4, 2021
1 parent 9f4a4f1 commit 6bff692
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ node_js:
- "12"
dist: xenial
cache:
# cache both yarn (.cache) and npm (for global installs)
# cache yarn cache and cypress binary
yarn: true
directories:
- ./.yarn/cache
- ~/.cache
addons:
chrome: stable
firefox: latest
Expand Down Expand Up @@ -60,10 +61,6 @@ _predeploy_defaults: &_predeploy_defaults
# CI_NODE var just ensures job env unique (otherwise won't run), others are passed to default script
jobs:
include:
- stage: Build
if: branch = ci/travis
script:
- npm run build
# Test - Run 4 test stages in parallel
# TODO - possibly create a single build before test and use for tests and deploy
# (might be tricky: https://docs.travis-ci.com/user/build-stages/#data-persistence-between-stages-and-jobs)
Expand Down

0 comments on commit 6bff692

Please sign in to comment.