-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (24 loc) · 710 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: node_js
node_js: 9
cache:
directories:
- ~/.npm
- ~/.cache
before_script:
## runs the 'start' script
## -----------------------------------
## the '-- --silent' passes arguments
## to http-server which silences its output
## else our travis logs would be cluttered
## with output from HTTP requests
## https://docs.npmjs.com/cli/start
## https://github.com/indexzero/http-server
## ---------------------------------------
## we use the '&' ampersand which tells
## travis to run this process in the background
## else it would block execution and hang travis
- npm start -- --silent &
script:
- $(npm bin)/cypress run --record
after_success:
- ./deploy.sh