aboutsummaryrefslogtreecommitdiff
path: root/travis/after_success.sh
blob: 27a0c526ac0a29d0e12cc72abf8e286d660cd26c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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