Skip to content

Commit 1b6dbf7

Browse files
committed
adding travis_terminate
1 parent 6072138 commit 1b6dbf7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ git:
66
depth: 10
77
jobs:
88
include:
9-
name: "Preview, validate, and build"
9+
- name: "Preview, validate, and build"
1010
before_install:
1111
- chmod +x autopreview.sh
1212
- ./autopreview.sh
@@ -32,5 +32,4 @@ jobs:
3232
elif [ "$filename" == "_distro_map.yml" ]; then python3 build.py --distro openshift-enterprise --product "OpenShift Container Platform" --version 4.14 --no-upstream-fetch
3333
fi
3434
done
35-
36-
if [ -d "drupal-build" ]; then python3 makeBuild.py; fi
35+
- if [ -d "drupal-build" ]; then python3 makeBuild.py || travis_terminate 1; fi

0 commit comments

Comments
 (0)