Use set -e in Travis scripts to ensure the scripts fail on error
This commit is contained in:
parent
97c138dbd8
commit
dbdef93a0c
2 changed files with 6 additions and 0 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e # exit on failure
|
||||||
|
|
||||||
lsb_release -a
|
lsb_release -a
|
||||||
sudo apt-get -qq update
|
sudo apt-get -qq update
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e # exit on failure
|
||||||
|
|
||||||
sw_vers
|
sw_vers
|
||||||
brew update
|
brew update
|
||||||
brew list
|
brew list
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue