Skip to content

Commit 54d3cf8

Browse files
committed
build(travis): change config
Changed .travis.yml configuration
1 parent 8808f28 commit 54d3cf8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
language: node_js
2+
os: linux
23

34
node_js:
45
- 12.3.1
56

67
jobs:
78
include:
89
# Define the release stage that runs semantic-release
10+
- stage: test
11+
node_js: lts/*
12+
script: test
13+
- stage: build
14+
node_js: lts/*
15+
script: build
916
- stage: release
1017
node_js: lts/*
1118
# Advanced: optionally overwrite your default `script` step to skip the tests
12-
# script: skip
19+
script: skip
1320
deploy:
1421
provider: script
15-
skip_cleanup: true
22+
cleanup: false
1623
script:
1724
- npx semantic-release

0 commit comments

Comments
 (0)