forked from UpHabit/semantic-release-jira-releases
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
49 lines (42 loc) · 849 Bytes
/
.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
language: node_js
sudo: required
dist: xenial
node_js:
- 10
branches:
only:
- master
- /^ci\/.+/
before_script:
- yarn install --pure-lockfile
cache:
yarn: true
directories:
- $HOME/.local
script:
# - shellcheck -x $(git ls-files | grep '[.]sh$')
- ./node_modules/.bin/madge -c .
- yarn audit
- yarn build
- yarn lint
- yarn test
before_deploy:
- >
yarn global add
semantic-release
@semantic-release/changelog
@semantic-release/exec
@semantic-release/git
@semantic-release/github
@semantic-release/npm
deploy:
- provider: script
skip_cleanup: true
'on':
branch: 'ci/semantic-release'
script: npx semantic-release --dry-run --branch ci/semantic-release
- provider: script
skip_cleanup: true
'on':
branch: master
script: npx semantic-release