-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (39 loc) · 2.39 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Use Trusty for a C++11 compiler, for our native dependencies:
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Node.js-v4-(or-io.js-v3)-compiler-requirements
dist: trusty
# Containers for faster startup, also we don't need sudo.
sudo: false
addons:
sauce_connect: true
language: node_js
node_js: 8.9.3
cache:
directories:
# Location of npm cache per https://docs.npmjs.com/cli/cache#cache. Shared by npx per
# https://github.com/zkat/npx/tree/6e89dbd5989366e52d3810692b1ab5889a05fbad#description.
- $HOME/.npm
# Only build when merged to master
branches:
only:
- master
install:
- npx npm@$NPM_VERSION ci
script: npm run ci
deploy:
- provider: script
# Prevent Travis from resetting the build artifacts.
skip_cleanup: true
script: npm run upload
on:
tags: true
- provider: npm
email: [email protected]
api_key:
secure: FCj0WT09y+mD5Jc7nadlKEikkUxMw+tFjyAiuJ7FAzrdmg9ijg+k7UyW6f4CTrxESdU+Ta21zFtHAqUyCZs3m5rgHsyA1ln5+qjb92SORn32CPTBbXyaEeWltUWhxCqUdAubZpCxr69XFSXGCoBJyDdKTk/Kxu/FNFTx5348Ld1ln5HMkQaJVaDpjdZgT9mNejoFazXJkdDMbFp3qt5I8c9PSel7RofeMKmkP7tZlytDic7bgO+mMyvpGRdRajFUzSTB+esGZk9uYkigT6AvJoWMBRbJqDEq9PsEsPZPkukipaWJjNtKJRc9Dj+1DhT5yCRLYo/lmAPP4lsPZpIWpSaDqijqBlIUcnnsAUIT9tgZpW/7OPwrWGXWYfixiBT2K3t0A2w6rUxZiQAtqy9Qw04Ih7TGmQBYhSFXO342y1gnURYHuX1pq7b+kbp2xUj7RHKo0KgMx/1DBXpJZWO7Wy6e0A1TTRMXidddNEMhYwyJVc/IjtGg46DTQLJVmrqsHTTxMDokKp94d83Vjz3r3eIuqRpqVevrnDu5MSY44osYqRZK62kvs5fBGmi/qOa2ph1coRxsUAgF4tT88d0jryUSRSODg5udc0BX3Q3lsch9GnH0c4rqVCmzvHbdxNo11UmmgmNpV+AGyCyEgY1XhYkgaslSgqbpkDBUwwBbpsM=
# Prevent Travis from resetting the build artifacts.
skip_cleanup: true
on:
tags: true
notifications:
slack:
secure: v5yzEtFLSp1oLGhCuUv9Sab4ltcZeQuGcTfoOIgVnOMn8dPTvEAzPTbbmoZcpOA0ZYhGN4FIB0ov6aq/VDrp4pRxghseNII5HYrIpR06nQiY9qtWJYvtlwWbPymwpcJev3FJqj45ceceSXTGnKqWiNRS4y/38xVL9DnkwM8rlImO0Y7NJGBO0L18vAIJ5rUXu3q30bpaFgbie5zG//8f4d8AhTBe5gjxlNoN5MUCS9fd7wvnwYmYY0dugxHANQTbp5SowOpb0Nz+HOm35w9w/kMKMrtoNGWDk+lid5Aq/3FF4jE8yMNhElVwbPy4JpW1EIQ6sqDNfFKhzCcBojDbSOvRyHk3AcNVTKTa/YcI50qSu72GbIc8AjfwyqMtA8ApWzGRD9/j6L9Rhas1FI9Ej0hl1uQw5JJ1DuOBqIlSaeiNp72svOgb2yFOmGE2q3TZe0l/598NyI4Oh91+XQvNZ9xb5IKdXg36HogHzXKPsy3RerQGft2+yZJvXW5W6xIJUf4ppCv4Q0au80vQTrikVZRXaat6yo5ffrKNhmzwYECInrc7rJGqA+N2lU50xp5y3a8IeRZS99X1rEBaSc5ZZUunStYpCdqotXLCTdV4A3nDEihHBofwIxajZh6CgiXCvahlvKA5IeZZ5qowUbGZ9bBCSgWoz7YzS27Q36QH8HI=