-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
32 lines (32 loc) · 1.55 KB
/
.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
before_install:
# init xvfb
# http://docs.travis-ci.com/user/gui-and-headless-browsers/
- export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start
# 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$/
env:
global:
# this value is auto-created by shTravisCryptoAesEncryptYml
- secure: qmIQnh3ZTJQkSWqggAPq0hs8C7+tOXyio6WdpV7NlKtpbG5Uc60YOYdKrq8eFciCykDr+RbtbKQyr2Xcn9PaQ/QsicSzXKwlLwR00NV7DvtMHgA7wMf+QPbJcSeBHeNI4/WjLxUiWfb0OGeZ8ezkv0NYVF5VQhcCsumsf96p7Ro7dxyA68/ZYCOm8hk9QIF4J3NGPL8R87rF1StC06n64t72x6ngaXQrg8WJFNWVD+rnsWB8upHVwZoZCSsBD7lhwoRp5hmKBQozor16NPPYGz+wAOy2ppG0TsiS065i1Za/j4v/b5Qu7Ri9o/utuwQz4LEmty9nBA47fRAqVZF5grvMf0McJTFjF7PIaaJYapfczJvBDGGqQoWjxsSmxEffFMdR/gV5qfUdYpQG24VDI5g1pC2mVIpWxz2LYLSzVJF05N+Meonw9hgEgRPrQfBbN4c5/ndPhnT4o+UhqoAbICKxw+wTKFD34W2xeZnnDg6rKCCcdWiYV7VVFe6GMdHeyz02kDcNKZJdCWifvidpQ1LvlXuX7O9G74uC0GvMZeNWB2wa2uKeKwkoJ4R0Md51xj2L6OBlfsiAvEtB8b17+f+Lj1jLMoe5RL0GcnpkVagpFP0ap3bHVWXFen4A5jrFzSwp2U1uhIxeQbDTMdKF1yD04nCGZxW9hHkU4wEYKw8= # CRYPTO_AES_KEY
language:
- node_js
node_js:
# - 8
- node
script:
- npm run build-ci
services:
- docker
# http://docs.travis-ci.com/user/workers/container-based-infrastructure
sudo:
false