Skip to content

Instantly share code, notes, and snippets.

@sumn2u
Created August 9, 2019 20:04
Show Gist options
  • Select an option

  • Save sumn2u/3c46ffbb8cb2b72c515fb17eb501b0a8 to your computer and use it in GitHub Desktop.

Select an option

Save sumn2u/3c46ffbb8cb2b72c515fb17eb501b0a8 to your computer and use it in GitHub Desktop.
travis.yml build file for cypress
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