Skip to content

Commit 9288bcd

Browse files
authored
Merge pull request #200 from trishankatdatadog/trishankatdatadog/set-error-on-bash-script
halt on error during build
2 parents 4cfeaf0 + 4348db3 commit 9288bcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Stop at any error, show all commands
4+
set -ex
5+
36
docker/build_scripts/prefetch.sh openssl curl
47
docker build --rm -t quay.io/pypa/manylinux1_$PLATFORM:$TRAVIS_COMMIT -f docker/Dockerfile-$PLATFORM docker/
58
docker system prune -f

0 commit comments

Comments
 (0)