forked from DAVFoundation/dav-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.25 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
language: node_js
node_js:
- '8'
- '9'
- '10'
branches:
only:
- master
- staging
- production
install:
- npm install
before_script:
- npm run tslint
- npm run jest
- npm run spellcheck
script:
- npm run tsc
- npm run typedoc
- npm run create-dist
- echo "if this fails your commit/s didn't update the dist files properly" && bash -c 'exit $([ -z "$(git status -s)" ])'
notifications:
email:
on_success: change # default: change
on_failure: always # default: always
slack:
rooms:
secure: NWq3RbsOztbRF1rYAZh9nr1NbYwkYwGQPCvSW1CeGlaEokjvZrw3qGB4vSqtJgaLxt0ZYUzEwZzy6OrCmxM+VnNA24Xcs5UV7OwjPpOYty2s1/oV9nFreLBbZGAjN6j202DMm0hmTxnr3cB2FQzOTtrrNztcbWzrNJ9zlh5FfjrXiUMS2aTE4DU5hzj17j5aAaFneYTKdBt1vyhg8Blf1RkaJ+d7kpz9DnJF/6LELGpjoDIQ0xF/9SD4/pLVoPGhp/BU0G5mJBxblbvS33JTeDNF7fpY8gRVs8NWqjcTTYHgyPygJUv1fRamOgrtoXtJ+tSI6aplUcAifHd2bx7JejhOfwZmXwDw4XsmQwY/QRbQeRaYwJrdHRcxvVDSoRnSIaeCqKkJ6DDdrRGFFpUBNpoKeiYVwPb7TUPXT/WoHgH5YMQeLvfvs6XFMCGqhbcVPi/3880a/WwatAFN+CKQWjzLlgiUuUg6UlzOV2b32zM4xJ77ILHOiWGpwoj1zJotEBaknqhfcw7uiNw5JHLaFEgU7rgIhpB3O61HE+QfWzQIAGU3BcA10kr97RnxjERaASI8hmT4hgL/0Z/SGWfoHLECbze7y7Pyw1C9ail5Q19neWRcRKRFC1P820ai/vcsI8XnMBi2N3jLFQJS7Lfmf5xjhBbpaMLkbvZ4edpTTiA=
on_success: change # default: always
on_failure: always # default: always