-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.travis.yml
32 lines (32 loc) · 823 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
language: node_js
node_js:
- stable
cache: yarn
script:
- node_modules/.bin/travis-github-status lint flow jest snyk codeclimate
jobs:
include:
- stage: Build
name: Travis Status
script: npx travis-github-status
name: Linting
script: npm run lint
name: Flow
script: npm run flow
name: Jest
script: npm run jest
name: Snyk
script: snyk
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/5156be73e058008e1ed2
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/