Fix Circle timeout due to no output

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire 2016-03-14 15:14:36 -07:00
parent 00938bd954
commit 7b711beb67
1 changed files with 1 additions and 3 deletions

View File

@ -1,13 +1,11 @@
#!/bin/bash #!/bin/bash
set -e
# Try several times to do the build (sometimes network or other issues causes # Try several times to do the build (sometimes network or other issues causes
# it to fail) # it to fail)
for i in $(seq 0 4); do for i in $(seq 0 4); do
echo "Trying build $i..." echo "Trying build $i..."
make clean make clean
BUILD_EXIT_CODE=$(make) make
if [[ $? -eq 0 ]]; then if [[ $? -eq 0 ]]; then
cp dist/* $CIRCLE_ARTIFACTS cp dist/* $CIRCLE_ARTIFACTS