-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
55 lines (48 loc) · 1.04 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
# 1. Notifications
# notifications:
# 2. Env
env:
global:
- SF_LOG_BOOTSTRAP=true
# 3. Git
branches:
only:
- /^travis/ # travis branches
- master
# 4. Bootstrap
# os: linux
# dist: xenial
language: generic
# addons:
before_cache: ./.ci.sh before_cache
cache:
directories:
# common
- $HOME/.local
- $HOME/.npm
# darwin
- $HOME/Library/Caches/Homebrew
- $HOME/Library/Caches/pip
# linux
- $HOME/.cache/Homebrew
- $HOME/.cache/pip
# 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:
- &stage-linux-bionic-minimal
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