From 57bbabaa6a10cc1a4de6f379e25babfee7adf6ad Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Sun, 15 Apr 2018 18:49:03 +0200 Subject: [PATCH] feat(all): Add set -xe option to build scripts --- .build-scripts/codecov.sh | 2 ++ .build-scripts/site-upload.sh | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.build-scripts/codecov.sh b/.build-scripts/codecov.sh index 6bf3643..293b04b 100755 --- a/.build-scripts/codecov.sh +++ b/.build-scripts/codecov.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -xe + wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz tar xzf master.tar.gz cd kcov-master diff --git a/.build-scripts/site-upload.sh b/.build-scripts/site-upload.sh index a69e1ac..094ae26 100755 --- a/.build-scripts/site-upload.sh +++ b/.build-scripts/site-upload.sh @@ -1,7 +1,10 @@ #!/bin/bash +set -xe + cd website make clean && make +echo "lettre.at" > _book/CNAME sudo pip install ghp-import ghp-import -n _book -git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages \ No newline at end of file +git push -f https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages \ No newline at end of file