]> git.sur5r.net Git - i3/i3/blob - travis/skip-pkg.sh
travis: only enable asan workaround for clang (breaks gcc)
[i3/i3] / travis / skip-pkg.sh
1 #!/bin/sh
2 # Returns true if Debian/Ubuntu packages should be skipped because this CI run
3 # was triggered by a pull request.
4
5 # Verify BINTRAY_USER is present (only set on github.com/i3/i3),
6 # otherwise the CI run was triggered by a pull request.
7 # Verify CC=gcc so that we only build packages once for each commit,
8 # not twice (with gcc and clang).
9 if [ ! -z "$BINTRAY_USER" ] && [ "$CC" = "gcc" ]
10 then
11         exit 1
12 fi
13
14 exit 0