-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1018 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
addons:
chrome: stable
before_install:
# override $NODE_VERSION
- CI_COMMIT_MESSAGE="$(git log -1 --pretty=%s)" && if (printf "$CI_COMMIT_MESSAGE" | grep -qE "\bNODE_VERSION="); then nvm install "$(printf "$CI_COMMIT_MESSAGE" | sed -e "s/.*\bNODE_VERSION=//" -e "s/ .*//")" && node --version && npm --version; fi
branches:
only:
- /^alpha$/
- /^beta$/
- /^benchmark\..*/
- /^cron$/
- /^docker\..*/
- /^master$/
- /^publish$/
- /^task$/
cache:
npm: false
dist:
# xenial
env:
global:
# this value is auto-created by shTravisCryptoAesEncryptYml
- secure: MbaHofupJXRYmcIUjgP+ZGrlO2UyRSpY5gZUO5k5gCMzKe8RvwXx9KO4jTbJF7n6LLpiSVnWJquTQYU1m2ed7H0WshU81tFPeiODifAY/yt9Or5b0r+Z7Esc2AJ9xzNwMPH5S7Z7Zmxa+aW7k0FplgpGWgAOeGWNinX/erRaio0= # CRYPTO_AES_KEY
language:
- node_js
node_js:
# - 12
- node
script:
- npm run build-ci
services:
- docker
- xvfb
# http://docs.travis-ci.com/user/workers/container-based-infrastructure
sudo:
false