This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
64 lines (56 loc) · 1.81 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# 1. Notifications
notifications:
slack:
rooms:
# cloud-ci
- secure: "ZVRPmzKAPkv8OrjID0KwwhYlJxXXaStvQG3/S0Ioq1FyF5gHunZvBx2pgoLAS8VCEjHG4ASRoQGhB9LCFOpL+om68Xndwa9QJ1A1MrSymu4RI/doeyYeIot9fxn6O64Qo6+OOmLna+vrg6YcvxgkL0Vf/++0dB7Am8Jj2dhw45MBhQiD/9+nriIpGOYTcx+eKvBhcLoPtCqbWHwyEn2R/i1zc62uXmQ5K9I91SuVndWxKulRCTy7iJnSx+B4OEbYI0gqq23tRT1E8dgeRPM9IcEfbf4HWR5zFxgBt4gLrh4Qx4jxSBTXchyvbEZDJR9OzLya2CuNJT8co2t1ZNuJ78ZaNVcIWUuTKZxWCDdvqHpB/fZhJqR6OMrOFRhieth+GkdANc3D73eStIDKyszESHvrxzy7sMMJFwRzhGnZM2YVixBrxk1k8sdL7amlwgaggFDR3+5af/rxMUjoISZT339dCj+m7q3YvcCW54/+PEOxvyoP9dFCKYxyBrreBmSnLwV8Qq3BQQ44vChO+96KT3BQE1l+fK+Sfkpnwc6pg3s5aB4ZW7Td9OwywkBdMK3GJRPOFi04MLrowVzsYQyic3ytB9oucWZZ2+RHlWQbiylkgvNN2jtYtYlaYMRbZfjHlVBnfPVhCTpSxBvg67dAFnTd7NrbfGQcd1jabmsfy+M="
on_success: change
on_pull_requests: false
# 2. Env
# env:
# 3. Git
# git:
branches:
only:
- master
- /^v(\d+)\.(\d+)\.(\d+)/ # version tags
# 4. Bootstrap
os: linux
dist: xenial
# addons:
before_cache: ./.ci.sh before_cache
cache:
directories:
# common
- $HOME/.local
- $HOME/.npm
# darwin
- $HOME/.homebrew
- $HOME/Library/Caches/Homebrew
- $HOME/Library/Caches/pip
# linux
- $HOME/.cache/Homebrew
- $HOME/.cache/pip
- $HOME/.linuxbrew
# 5. Steps
before_install: ./.ci.sh before_install
install: ./.ci.sh install
before_script: ./.ci.sh before_script
script: ./.ci.sh script
after_success: ./.ci.sh after_success
after_failure: ./.ci.sh after_failure
after_script: ./.ci.sh after_script
# 6. Deploy
before_deploy: ./.ci.sh before_deploy
# deploy:
after_deploy: ./.ci.sh after_deploy
jobs:
include:
- name: "Node.js 8.10"
language: node_js
node_js: "8.10"
env: CACHE_NAME=node-8.10
- name: "Node.js latest"
language: node_js
node_js: node
env: CACHE_NAME=node