Created
December 6, 2019 11:24
-
-
Save kianaditya/ae9fbb437583a04edfdfe0d6aade6fe9 to your computer and use it in GitHub Desktop.
Travis CI basic configuration 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
language: node_js | |
node_js: | |
- 12 | |
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: | |
# we also need to cache folder with Cypress binary | |
- ~/.cache | |
install: | |
- npm ci | |
script: | |
- $(npm bin)/cypress run --record |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment