Travis check condition flipped

This commit is contained in:
Nabeel Shahzad
2020-02-11 13:25:54 -05:00
parent 018f6b62f6
commit 39159e2c2e
+3 -2
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$TRAVIS" = "true" ]; then if [ "$TRAVIS" != "true" ]; then
exit 0
fi
cd $TRAVIS_BUILD_DIR cd $TRAVIS_BUILD_DIR
@@ -136,4 +138,3 @@ if [ "$TRAVIS" = "true" ]; then
fi fi
curl -X POST --data "{\"content\": \"A new build is available at http://downloads.phpvms.net/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL curl -X POST --data "{\"content\": \"A new build is available at http://downloads.phpvms.net/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL
fi