Skip to content

Commit 611f08c

Browse files
committed
ci: use shared Travis config
1 parent 4e4042f commit 611f08c

File tree

1 file changed

+8
-30
lines changed

1 file changed

+8
-30
lines changed

.travis.yml

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,8 @@
1-
language: node_js
2-
3-
node_js:
4-
- 12
5-
- 10
6-
- 8.16
7-
8-
# Trigger a push build on master and greenkeeper branches + PRs build on every branches
9-
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
10-
branches:
11-
only:
12-
- master
13-
- /^greenkeeper.*$/
14-
15-
# Retry install on fail to avoid failing a build on network/disk/external errors
16-
install:
17-
- travis_retry npm install
18-
19-
script:
20-
- npm run test
21-
22-
after_success:
23-
- npm run codecov
24-
25-
jobs:
26-
include:
27-
- stage: release
28-
node_js: lts/*
29-
script:
30-
- npm run semantic-release
1+
version: ~> 1.0
2+
3+
import:
4+
- semantic-release/semantic-release:.travis/node.yml
5+
- semantic-release/semantic-release:.travis/node-versions.yml
6+
- semantic-release/semantic-release:.travis/semantic-release.yml
7+
- semantic-release/semantic-release:.travis/greenkeeper.yml
8+
- semantic-release/semantic-release:.travis/codecov.yml

0 commit comments

Comments
 (0)