aboutsummaryrefslogtreecommitdiff
path: root/travis/after_success.sh
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2016-12-18 15:54:05 +0100
committerEven Rouault <even.rouault@spatialys.com>2017-01-19 13:15:13 +0100
commite2ee995cefd255ca6ab0c36027e405a4696260dd (patch)
treec95c26e888eff2ab89ff8cf8e81e8257c79068c7 /travis/after_success.sh
parent3e564829151f9fbbae7af052a8099ef50f2db3a7 (diff)
downloadPROJ-e2ee995cefd255ca6ab0c36027e405a4696260dd.tar.gz
PROJ-e2ee995cefd255ca6ab0c36027e405a4696260dd.zip
.travis.yml: add multi config setup
Setup 4 configs: Linux/GCC, Linux/CLang, OSX CLang and mingw32 OSX allowed to fail, since it fails in the proj -VC step.
Diffstat (limited to 'travis/after_success.sh')
-rwxr-xr-xtravis/after_success.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/travis/after_success.sh b/travis/after_success.sh
new file mode 100755
index 00000000..27a0c526
--- /dev/null
+++ b/travis/after_success.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# coveralls falsely reports .c-files in the build directories as having 100% coverage so we exclude them
+coveralls --extension .c --exclude build_autoconf --exclude build_cmake
+echo "$TRAVIS_SECURE_ENV_VARS"
+./travis/build_docs.sh
+if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "master"; then
+ echo "publish website";
+ ./travis/add_deploy_key.sh;
+ ./travis/deploy_website.sh $TRAVIS_BUILD_DIR/docs/build /tmp;
+fi