Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit 6f160b9

Browse files
committed
Exit early in CI for cleaner error logs
Also, in .travis.yml, split `env` into `global` and `matrix` to make it easier to browse between different testing shards.
1 parent 51a2639 commit 6f160b9

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.travis.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ branches:
1010
- master
1111

1212
env:
13-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='lms+discovery+forum'
14-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='lms+registrar'
15-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='ecommerce'
16-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='edx_notes_api'
17-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='credentials'
18-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='analyticspipeline'
19-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='xqueue'
20-
- DEVSTACK_WORKSPACE=/tmp SHALLOW_CLONE=1 SERVICES='marketing'
13+
global:
14+
- DEVSTACK_WORKSPACE=/tmp
15+
- SHALLOW_CLONE=1
16+
matrix:
17+
- SERVICES=lms+discovery+forum
18+
- SERVICES=lms+registrar
19+
- SERVICES=ecommerce
20+
- SERVICES=edx_notes_api
21+
- SERVICES=credentials
22+
- SERVICES=analyticspipeline
23+
- SERVICES=xqueue
24+
- SERVICES=marketing
2125

2226
services:
2327
- docker
@@ -34,6 +38,7 @@ before_install:
3438
- make dev.pull."$SERVICES"
3539

3640
script:
41+
- set -e # If one of these commands fails, exit immediately.
3742
- make dev.provision.services."$SERVICES"
3843
- make dev.up."$SERVICES"
3944
- make dev.check."$SERVICES"

0 commit comments

Comments
 (0)