-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
80 lines (71 loc) · 2.35 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# 1. Notifications
notifications:
slack:
rooms:
# cloud-ci
- secure: "EFN/yGMW+CNrwyqBzJiJOFZIytEIGsz2zBO/s34sCHwk8UukrOJBqSgv1LycjudPr6MizY5ax/IOZkG6fs8ce2Z8qJKNdQC2OHKVXq5Rr5x2HMg3ihoqhEVJhohS2B337TcF6/0WHZ/BT32tOFI1M2Z3WGByxsvrRFTa5eFDxRz+KfyOiWAKjTgY5cG5Sjr3Cmy9vQTFQkWgkSKvIemOCF7q1REFPAg917EvIaZfY2nUT9w9thtvIL3u2JUmWEda+X13oTm5ywEeFo8AYK8CR1PnVfi9O/172Gh8jhPzcjbkl6kEO5E73xPhCAnAoBgIaeQ9cq8kn3uZQeG0cHve55Os8kRGjT/ZFCa/c4XuFkQnLLlNRSJBlQ76EmhU43TianvnwJt/s9H1+ak9pypY5NYe/bx3NMd0BuhkhHB/zcKq96x/ZE7yiJcpsMw+7voVR+CNec4WsrukEDfiily+9A9M9+cB66z25dpsbKIVe6REer+MD9RTwc2n8M00TBmnB14KGQAE8HEXdzTSF5LWcT1T4nxgHeRKMur185KSovAFEB+93CApAN1NU/ooZRqpYkOLd6weDl6c5il4tZ7iPgDmSlLS9a+17lJ4GwNk9pxd398inYV9XSZGF5ZZykSN9LDipdx1VnRrVW/tSS3B9dt6jlvscB5sWbfr9+k5m7o="
on_success: change
on_pull_requests: false
# 2. Env
# env:
# 3. Git
branches:
only:
- master
- /^v(\d+)\.(\d+)\.(\d+)/ # version tags
# 4. Bootstrap
# os: linux
# dist: bionic
language: generic
# 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:
provider: script
script: ./.ci.sh deploy
skip_cleanup: true
on:
tags: true
after_deploy: ./.ci.sh after_deploy
jobs:
include:
- stage: test
name: "Linux Bionic 18.04 with minimal brew"
os: linux
dist: bionic
env: CACHE_NAME=linux-bionic-minimal SF_CI_BREW_INSTALL=minimal
if: type IN (push, pull_request)
- stage: test
name: "Linux Bionic 18.04 with dev (common+) brew"
os: linux
dist: bionic
env: CACHE_NAME=linux-bionic-dev SF_CI_BREW_INSTALL=dev
if: type IN (push)
- stage: test
name: "OSX High Sierra 10.14 (Xcode 10.2) with dev (common+) brew"
os: osx
osx_image: xcode10.2
env: CACHE_NAME=osx-xcode10.2-dev SF_CI_BREW_INSTALL=dev
if: type IN (push, pull_request) AND tag is blank