File tree Expand file tree Collapse file tree 1 file changed +0
-45
lines changed Expand file tree Collapse file tree 1 file changed +0
-45
lines changed Original file line number Diff line number Diff line change @@ -10,57 +10,12 @@ cache:
10
10
- repositories
11
11
12
12
stages :
13
- - Lint
14
- - Test
15
13
- Build
16
14
17
15
jobs :
18
16
fast_finish : true
19
17
20
18
include :
21
- - stage : Lint
22
- name : Lint
23
- env : CACHE_TYPE=lint
24
- script :
25
- - yarn lint:js || travis_terminate 1
26
- - yarn lint:markdown || travis_terminate 1
27
- - yarn lint:social || travis_terminate 1
28
-
29
- - stage : Lint
30
- name : Proselint
31
- language : python
32
- env : CACHE_TYPE=proselint
33
- python : 3.6
34
- cache :
35
- yarn : false
36
- npm : false
37
- pip : true
38
- directories :
39
- - $HOME/.cache
40
- install : pip install -r requirements.txt
41
- script : cp .proselintrc ~/ && proselint src/content
42
-
43
- - stage : Test
44
- name : Cypress
45
- env : CACHE_TYPE=lint
46
- node_js : " 10"
47
- install :
48
- - yarn
49
- - yarn cypress install
50
- - yarn cypress verify
51
- script :
52
- - yarn fetch:supporters
53
- - yarn fetch:starter-kits
54
- - yarn cypress:ci || travis_terminate 1
55
-
56
- - stage : Build
57
- name : Build
58
- if : branch != master OR type NOT IN (push, cron)
59
- env : CACHE_TYPE=build
60
- script :
61
- - yarn build || travis_terminate 1
62
- - yarn lint:links || travis_terminate 1
63
-
64
19
- stage : Build
65
20
name : Build and Deploy
66
21
if : branch = master AND type IN (push, cron)
You can’t perform that action at this time.
0 commit comments