Skip to content

Commit ebaa056

Browse files
committed
feat: Pimp travis
1 parent 6ebd9f1 commit ebaa056

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.travis.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ branches:
55
only:
66
- master
77
- /^release\/.+$/
8-
- /^major\/.+$/
9-
- 4.x
108

119
install: true
1210
sudo: required
@@ -21,12 +19,10 @@ cache:
2119

2220
jobs:
2321
include:
22+
- stage: Test
2423
- name: '@sentry/packages - build + lint + test + codecov + danger [node v8]'
2524
node_js: '8'
2625
script: scripts/danger.sh
27-
- name: '@sentry/packages - pack and zeus upload'
28-
node_js: '8'
29-
script: scripts/pack-and-upload.sh || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]
3026
- name: '@sentry/packages - build and test [node v6]'
3127
node_js: '6'
3228
script: scripts/test.sh
@@ -39,19 +35,6 @@ jobs:
3935
chrome: stable
4036
firefox: latest
4137
script: scripts/browser-integration.sh
42-
- name: '@sentry/browser - SauceLabs tests'
43-
if: fork = false
44-
node_js: '8'
45-
addons:
46-
sauce_connect: true
47-
script: scripts/browser-saucelabs.sh
48-
- name: 'raven-js - unit and integration tests'
49-
if: branch = 4.x
50-
node_js: '8'
51-
addons:
52-
chrome: stable
53-
firefox: latest
54-
script: scripts/raven-js.sh
5538
- name: 'raven-node [node v4]'
5639
if: branch = 4.x
5740
node_js: '4'
@@ -68,6 +51,24 @@ jobs:
6851
if: branch = 4.x
6952
node_js: '10'
7053
script: scripts/raven-node.sh
54+
- name: 'raven-js - unit and integration tests'
55+
if: branch = 4.x
56+
node_js: '8'
57+
addons:
58+
chrome: stable
59+
firefox: latest
60+
script: scripts/raven-js.sh
61+
- stage: Saucelabs
62+
- name: '@sentry/browser - SauceLabs tests'
63+
if: fork = false
64+
node_js: '8'
65+
addons:
66+
sauce_connect: true
67+
script: scripts/browser-saucelabs.sh
68+
- stage: Deploy
69+
- name: '@sentry/packages - pack and zeus upload'
70+
node_js: '8'
71+
script: scripts/pack-and-upload.sh || [[ ! "$TRAVIS_BRANCH" =~ ^release/ ]]
7172

7273
notifications:
7374
webhooks:

0 commit comments

Comments
 (0)