switch from Travis to GitHub actions for continuous integration (CI) (#4428)

This commit is contained in:
Michael Stapelberg
2021-05-23 15:44:28 +02:00
committed by GitHub
parent e44aa7a9a9
commit c94f41b2da
3 changed files with 90 additions and 59 deletions

View File

@ -2,11 +2,11 @@
# Returns true if Debian/Ubuntu packages should be skipped because this CI run
# was triggered by a pull request.
# Verify BINTRAY_USER is present (only set on github.com/i3/i3),
# Verify BALTO_TOKEN is present (only set on github.com/i3/i3),
# otherwise the CI run was triggered by a pull request.
# Verify CC=gcc so that we only build packages once for each commit,
# not twice (with gcc and clang).
if [ ! -z "$BINTRAY_USER" ] && [ "$CC" = "gcc" ]
if [ ! -z "$BALTO_TOKEN" ] && [ "$CC" = "gcc" ]
then
exit 1
fi