Added cypress to travis configuration

Based on
https://docs.cypress.io/guides/guides/continuous-integration.html#Travis
This commit is contained in:
Przemek Wiech
2020-03-06 21:25:12 +01:00
parent 768e6d7111
commit 2782e9d90a

View File

@@ -1,6 +1,12 @@
language: node_js
node_js:
- "node"
addons:
apt:
packages:
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
- libgconf-2-4
script:
- npm run build
- npm test
- $(npm bin)/cypress run --record