diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2016-12-18 15:54:05 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-01-19 13:15:13 +0100 |
| commit | e2ee995cefd255ca6ab0c36027e405a4696260dd (patch) | |
| tree | c95c26e888eff2ab89ff8cf8e81e8257c79068c7 /travis/after_success.sh | |
| parent | 3e564829151f9fbbae7af052a8099ef50f2db3a7 (diff) | |
| download | PROJ-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-x | travis/after_success.sh | 13 |
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 |
