Add e2e tests
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -15,12 +15,19 @@ language: node_js
|
||||
node_js:
|
||||
- "12"
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libgconf-2-4 # cypress binary dependency
|
||||
|
||||
env:
|
||||
- DEPLOY_ENV=POSTWOMAN_IO
|
||||
|
||||
cache:
|
||||
npm: true
|
||||
directories:
|
||||
- "node_modules"
|
||||
- ~/.cache
|
||||
|
||||
branches:
|
||||
only:
|
||||
@@ -30,6 +37,9 @@ install:
|
||||
- "npm install firebase-tools"
|
||||
- "npm install"
|
||||
|
||||
before_script:
|
||||
- "npm run test"
|
||||
|
||||
script:
|
||||
- "cd functions"
|
||||
- "npm install"
|
||||
|
||||
Reference in New Issue
Block a user