]> granicus.if.org Git - strace/blob - travis-ci.sh
Robustify mpers.awk against invalid input
[strace] / travis-ci.sh
1 #!/bin/sh -e
2
3 j=-j`getconf _NPROCESSORS_ONLN 2> /dev/null` || j=
4 set -x
5 git fetch --unshallow
6 ./git-set-file-times
7 case "${TARGET-}" in
8   x32)
9     CC="$CC -mx32"
10     ;;
11   x86)
12     export DISTCHECK_CONFIGURE_FLAGS='--build=i686-pc-linux-gnu'
13     CC="$CC -m32"
14     ;;
15 esac
16 export CC_FOR_BUILD="$CC"
17 ./bootstrap
18 ./configure --enable-maintainer-mode ${ENABLE_GCC_WERROR-} ${DISTCHECK_CONFIGURE_FLAGS-}
19 make -k $j distcheck VERBOSE=${VERBOSE-}