forked from liferay/senna.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 801 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
29
30
31
32
33
34
35
36
37
stages:
- precache
- test
language: node_js
node_js: '8'
env:
global:
- PATH=~/npm/node_modules/.bin:$PATH
before_install: |
[[ ! -x ~/npm/node_modules/.bin/npm ]] && {
cd ~/npm && npm install npm@^5.8.0
cd -
} || true
install: npm ci --ignore-scripts
cache:
directories:
- ~/.npm # cache npm's cache
- ~/npm # cache latest npm
jobs:
include:
- stage: test
install: npm ci
addons:
sauce_connect:
no_ssl_bump_domains: all
jwt:
secure: dnd9n+qRlUFxKH82yHMSdfjkeK4Q+x8WkDdcwLb/A2n1dhSkfaekbi2pcUCUsVSueG3kl2gGD+Y4nYX0nbQ6C1lUovQv2aoLi9pooE0k4rAWEpEG1rCz55QsJT5wllQUGDUAYPbFFD7qwL2pPehMQWcl7OrScXeCdIZXF4dEVPM=
chrome: stable
script: gulp test:saucelabs
- stage: precache
script: true