File tree 1 file changed +29
-24
lines changed
1 file changed +29
-24
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
- addons :
3
- chrome : stable
2
+ node_js : 10
3
+
4
4
cache :
5
5
yarn : true
6
6
sudo : required
7
7
dist : trusty
8
+
9
+ stages :
10
+ - Tests
11
+ - name : Release
12
+ if : type = push and (branch = v2 or branch = master)
13
+
8
14
jobs :
9
15
fail_fast : true
10
16
include :
11
- - stage : CommitLint
12
- name : Conventional Commits
13
- node_js : 10
14
- script :
15
- - commitlint-travis
16
- - stage : Tests
17
- node_js : 10
18
- - node_js : 8
19
- - node_js : stable
17
+ - stage : Tests
18
+ name : Conventional Commits
19
+ node_js : 10
20
+ script :
21
+ - commitlint-travis
22
+ - name : Fixed Dependencies
23
+ - name : Floating Dependencies
24
+ install : yarn install --no-lockfile --non-interactive
25
+ - node_js : 8
26
+ - node_js : stable
27
+
28
+ - stage : Release
29
+ name : Github Release
30
+ script : yarn semantic-release
31
+
20
32
before_install :
21
- - curl -o- -L https://yarnpkg.com/install.sh | bash
22
- - export PATH=$HOME/.yarn/bin:$PATH
33
+ - curl -o- -L https://yarnpkg.com/install.sh | bash
34
+ - export PATH=$HOME/.yarn/bin:$PATH
35
+
23
36
install :
24
- - yarn install --no-lockfile --non-interactive
25
- before_script :
26
- - sudo chmod 4755 /opt/google/chrome/chrome-sandbox
27
- - sudo chown root /opt/google/chrome/chrome-sandbox
37
+ - yarn install --non-interactive
38
+
28
39
script :
29
- - yarn test:ci && yarn travis-deploy-once "yarn semantic-release"
30
- branches :
31
- except :
32
- - " /^v\\ d+\\ .\\ d+\\ .\\ d+$/"
33
- env :
34
- global :
35
- secure : 15Q6i0W/+YqcQ8+l0rVZuPhNdOcO6GPSewKrzVT1LzkEtrtoDRgqUaTleE9eHN1P/7KBxqKUQIyrvnsJiolUuin8a9xoJjLGW0e90W0OE9SElQ3HlhawimSM1VxJPYz+laUYJ2GAfMFPQg7WvQ9v/mQmEwZAnf5qZV76FtZc+XmfDySN25l+7nE/vJ3QWkcx6ey1OHfgZR0c2pjiPd2krNfTpgg3gK/KOUtcxpYdCK/gTzp9DOHzyxKxbK5bxA72iw7Wz2b27NVg5ENRVaShDuT6hzg+JCwNlpLisMEBCCjkgrAnKHSho/AuA2bJaVGeBLMZwpl1S02vbetOSWsxy0qoA26sYHJshcq4No9wE34L5yaGlgzHuEYQzX+P8frBlkKwk3PwhlR9K+L7f0D+6pN/EbHLo/OplTkxjbnRtuOEkGnaS5oyc5EnIczZsLClC1OafolnUi7mjfpdX2TqDh/dQLs+RtoV3aU2cn18fVqwrhBGkFFDuKuekasyhup2TCel8EacLpYAzf0iQukA6gGm8bI2ubgBunTBl2/G7rFYmHfdTF8+JLcNqTeBLMYkCfSFs6M65IAbsx0PYDmtUocCGGiYPkYHofTq3FOaV530MPWahE82e8qHWNssK5dxizh28jyYUrP1IrUQLVikxp4404NcSX9D2x5bNSrp20A=
40
+ - yarn test:ci
You can’t perform that action at this time.
0 commit comments