forked from symbol/symbol-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 829 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
language: node_js
node_js:
- "12"
cache:
directories:
- "node_modules"
- .eslintcache
before_script:
- sudo apt-get update
- sudo apt-get install python3 python3-pip python3-setuptools
- pip3 install catapultdocscli --user
- npm run build
- npm link
script:
- npm run test:cov
- npm run lint
- npm run coveralls-report
- CURRENT_VERSION=$(npm run version --silent)
- catapult-docs-cli cli-usage --config .clidocs > docs/$CURRENT_VERSION.md
deploy:
- provider: script
skip_cleanup: true
script: /bin/sh travis/githubPages.sh
on:
branch: main
- provider: script
skip_cleanup: true
script: /bin/sh travis/uploadArchives.sh
on:
branch: main
- provider: script
skip_cleanup: true
script: /bin/sh travis/release.sh
on:
branch: $RELEASE_BRANCH