-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (50 loc) · 5.34 KB
/
.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
50
sudo: false
language: node_js
install:
- npm ci
script:
# Test Git hooks in CI, to make sure script upgrades do not break them.
- npm run prepare
# Test commit message validation in CI.
- git log -1 --pretty=%B >> latest.log && ./.git/hooks/commit-msg latest.log
- npm run test:ci
- npx commitlint-travis
- if [ "$TRAVIS_SECURE_ENV_VARS" == true ]; then npx danger ci --verbose; fi
- npm run report:package
after_success:
- mv coverage/lcov-report build || true
- cat ./coverage/lcov.info | npx coveralls
branches:
except:
- gh-pages
deploy:
- provider: pages
skip_cleanup: true
local_dir: build
github_token: "$PAGES_GITHUB_API_TOKEN"
on:
branch: master
- provider: script
skip_cleanup: true
script: npx semantic-release
on:
branch: master
notifications:
email: false
env:
global:
# Permissions: public_repo
# travis encrypt --pro DANGER_GITHUB_API_TOKEN=<value>
- secure: "1Ri3a4kFnpxFBOQy3vSbhC+5Rbnzwfoh56qVWl5WO1NUZm24IWaK/kWJ4VD1+LprXrr7aF1Ug6xoA/QQaA+E4iksS3ZbQYBScqGOrQjU8iwQUoYR5gzycV+RKFvnTp2NcIVsdHzbWJrd4B21nSOCJxuIV+G5dXZ9XfFFwlRRSNS+sbnwDhjE/RDwwPotRRHXuS8LSQUB/eOckqG5fr1ntU6FwN4UGD/+qLTOagF37w6jKrQpqoE6O7C4VFyc+2Fs5mjUoEyxgZIy/NlHyx6XuaqP36YoASltIIcAZ/sMrXg7vexNLOd/ZeZqOaS8LVuDSk8TN49VpAxLud/skB/sEcPjuOtB2G+WmWRA315oNqRpcr29C+ER17TT6d2ss98CXvDambSrc49NGJimhh24sjT/9GqAnNrd+96P9NUPVfaDjVRx5sqPafs/nRQw7SjjMnW11TJwnh6vs8wVSjUz89Q7W3ZxFdYyduREeE5dFYoiMoQvlyc99pM/AMIKZao0cIaJq5hMQAaJhJLelo0QPXrdrYahv7oVp/NtqpHsb9NkMVJ93brLiVEDLFKAFkrwgrwuUDu2YqRG8ndoj9OSHb/ZZezxNaUG/i3PGEg9M53JQKDwlG3rMu3x4CH2OyRvFP8sbQFwrdLpJCcsyYFeqXvxcuzh43FVdrLOYWm0jyw="
# Permissions: public_repo
# travis encrypt --pro PAGES_GITHUB_API_TOKEN=<value>
- secure: "EmG0jz7qMnOtb9XRHEYudkW3apc0CvcpzvvqIUhtjUlaC9s0GnyJ5oCloRlA/wA4VcUouyvX2Mlhf3wBNX1JqwMv/RQQr+WcHwNMlAYlU08WGoS3we8r7T7ttZLbiBONSPyjRhVbwLT85LMtO4VeCxSImG31Kpdi3dfv+zwr5e2Fsi2OmZgUrhIBwYwn5VFmM7vNS8j1zlVV59sIFAVSMdCDDxFieF7A839Y3IYVQYAX1+6pwzm3VpCmJb68gwY3N50NWy3sPtntqJZhy9Tzx1tND3nbaxbXguA99s1S3OWRc0vbmXT9Iqw5NFo0wHEcwxkA3gG7cm67rFrpZG541cG/JjnnxZ0xqEy9zhEam63bP8Otrg0Yq5sC6Slxz3wZyWh4IcS1BtBbjxHeKljy5ZAA8jGRFWK12Ev9vpvOHe2AK59v5Z2VT5fOfJzJQIi1Bfs58a+BNVDGiTdy03UwxEWKYXdxGhJ0NmyLqSZOIEXWQ32JGheF7P2qg6TBMm46+mwBxm7UQF8lMGp3erQQH/15TuuYVGRuyq+BgGIWx7/7k50C4LhXoteVxPmjztFGVlhRTa8rWEYJNbgMNV7D8FbMPDlW404+NtGqZQ3nCXDN4I5Cy45VqG0LBXvtAZBJPoXNUA49MOCsevYz27AZqX5lGF820hlP0qDN8nNHWfA="
# Permissions: public_repo
# travis encrypt --pro GH_TOKEN=<value>
- secure: "oEEIj/IjZHK8WbakAPe+xMGSUFjTnHs/B3ZKoTkNvrn7IrHF+hVWQEpUuZGAcHoltZGkfrFWQFYWtxMLo5FZ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