forked from getsentry/sentry-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (53 loc) · 1.42 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
51
52
53
54
55
56
57
58
59
60
git:
depth: false # we need this to make proper releases
branches:
only:
- master
- /^release\/.+$/
- /^major\/.+$/
install: yarn --ignore-engines
os: linux
language: node_js
dist: bionic
cache:
yarn: true
directories:
- node_modules
stages:
- Test
- Deploy
- Saucelabs
jobs:
include:
- stage: Test
name: '@sentry/packages - build + lint + test + codecov + danger [node v12]'
node_js: '12'
script: scripts/danger.sh
- name: '@sentry/packages - build and test [node v6]'
node_js: '6'
script: scripts/test.sh
- name: '@sentry/packages - build and test [node v8]'
node_js: '8'
script: scripts/test.sh
- name: '@sentry/packages - build and test [node v10]'
node_js: '10'
script: scripts/test.sh
- name: '@sentry/packages - build and test [node v12]'
node_js: '12'
script: scripts/test.sh
- name: '@sentry/browser - browserstack integration tests'
node_js: '12'
script: scripts/browser-integration.sh
- stage: Deploy
name: '@sentry/packages - pack and zeus upload'
node_js: '12'
script: scripts/pack-and-upload.sh || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]
notifications:
webhooks:
urls:
- https://zeus.ci/hooks/853ee4aa-d692-11e7-8c60-0a580a28020f/public/provider/travis/webhook
on_success: always
on_failure: always
on_start: always
on_cancel: always
on_error: always