Remove old release mechanism from Travis

This commit is contained in:
Stanisław Barzowski 2020-02-10 00:14:45 +01:00
parent 70a6b3d419
commit 31b9ace0f6

View File

@ -5,21 +5,5 @@ run_tests() {
./tests.sh --skip-go-test
}
release() {
env VERSION=$TRAVIS_TAG ./release.sh
}
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
# Pull Requests.
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
run_tests
elif [ "$TRAVIS_TAG" == "" ]; then
# Pushed branches.
echo -e "Build Branch $TRAVIS_BRANCH"
run_tests
else
# $TRAVIS_PULL_REQUEST == "false" and $TRAVIS_TAG != "" -> Releases.
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
release
fi
run_tests