UNPKG

1.46 kBYAMLView Raw
1language: node_js
2dist: xenial
3notifications:
4 email:
5 recipients:
6 - kschwarz@hexonet.net
7 on_success: never
8 on_failure: always
9 slack:
10 rooms:
11 secure: S8cFuwL1mEKPWG238p4iIac6yZYw6hgNMOH878cZSEqb//GnNVriiR82B4uWj6QQ5K/l93KAK7LdB33Y8zk6OC4huutQwCMzU9g1BGbZC8LrMeXGnpXY+xmfldo8apr7JyL7u0mSam08YUDqyvHI+988iQTQjuXoW7o8fMrJ5ij0Rjdm2IqSqcJwX/6QxOVue1oURAUdDzllB88Ugzv/zNdqZ1NaVYCk4lVayCyDVJnuPtKM24g3DEyduKlwqfXOO2F6Fd0L4JpW6SOrHQhvwNwSwan6gp9dnevmnPgWOr0W32C7KFFQZSS1OyCX0HFxCGZyTjpFaHjqEow/abK7KxKlKVPJfr8Zqi1bG8YyM1Dgc3NJWchaXsKOcWxp4BvSqBYVpZx/ZAoqmFfazRmexhLTJKz9A1jH8SuxPEYadDjxBURDFjZe7woyxNGpQvOkvEJnUgowfiUeHDcAuU7IbSu0XDZPuks5drjJ0Pxzf1W+jP2nxrKeFqLisQa4qB/4fvPEgGYE9mGaKNiRFFRYWVwsLhOvOLwHH+1w+r3/nc4yAzMUnemwO0nONm0fr/72VGn1hFhaWBhrP6jTx9gShZ6iXer1qU+SuL9kzh79w/52NQDa9Q/6L7J9L7B9vGhaA4YQwKbK0xT5thw+XdNKjXtZLiuvHbnI0Vyv3BjaOaQ=
12 on_success: always
13 on_failure: always
14cache:
15 directories:
16 - ~/.npm
17 - node_modules
18node_js:
19 - '11'
20 - '10'
21 - '9'
22 - '8'
23# Trigger a push build on master and dependabot branches + PRs build on every branches
24# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
25branches:
26 only:
27 - master
28 - /^dependabot.*$/
29before_install:
30- npm prune
31install:
32- travis_retry npm i
33before_script:
34- npm run build
35- npm run lint
36script:
37- npm run test
38jobs:
39 include:
40 - stage: release
41 node_js: lts/*
42 script:
43 - npx semantic-release
\No newline at end of file