Created
August 9, 2019 20:04
-
-
Save sumn2u/3c46ffbb8cb2b72c515fb17eb501b0a8 to your computer and use it in GitHub Desktop.
travis.yml build file for cypress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo: false | |
| language: node_js | |
| node_js: | |
| - 10 | |
| addons: | |
| apt: | |
| packages: | |
| # Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves | |
| - libgconf-2-4 | |
| cache: | |
| # Caches $HOME/.npm when npm ci is default script command | |
| # Caches node_modules in all other cases | |
| npm: true | |
| directories: | |
| - node_modules | |
| install: | |
| - npm install | |
| script: | |
| - $(npm bin)/cypress run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment