only run after_success on Linux

This commit is contained in:
Andre Bogus 2017-01-08 17:31:08 +01:00
parent d1bdbaae06
commit c1f945cef4

View file

@ -43,9 +43,10 @@ script:
- set +e
after_success:
- ./.github/deploy.sh
# trigger rebuild of the clippy-service, to keep it up to date with clippy itself
- |
- if [ $(uname) == Linux ]; then
./.github/deploy.sh
# trigger rebuild of the clippy-service, to keep it up to date with clippy itself
#!/bin/bash
set -e
if [ "$TRAVIS_PULL_REQUEST" == "false" ] &&
@ -65,3 +66,4 @@ after_success:
echo "Ignored"
fi
set +e
fi