Update travis for autotools
This commit is contained in:
@ -29,13 +29,13 @@ my $binary_spelling_exceptions = {
|
||||
'betwen' => 1, # asan_flags.inc contains this spelling error.
|
||||
};
|
||||
my @binaries = qw(
|
||||
i3
|
||||
i3-config-wizard/i3-config-wizard
|
||||
i3-dump-log/i3-dump-log
|
||||
i3-input/i3-input
|
||||
i3-msg/i3-msg
|
||||
i3-nagbar/i3-nagbar
|
||||
i3bar/i3bar
|
||||
build/i3
|
||||
build/i3-config-wizard/i3-config-wizard
|
||||
build/i3-dump-log/i3-dump-log
|
||||
build/i3-input/i3-input
|
||||
build/i3-msg/i3-msg
|
||||
build/i3-nagbar/i3-nagbar
|
||||
build/i3bar/i3bar
|
||||
);
|
||||
for my $binary (@binaries) {
|
||||
check_spelling(slurp($binary), $binary_spelling_exceptions, sub {
|
||||
@ -50,7 +50,7 @@ for my $binary (@binaries) {
|
||||
my $manpage_spelling_exceptions = {
|
||||
};
|
||||
|
||||
for my $name (glob('man/*.1')) {
|
||||
for my $name (glob('build/man/*.1')) {
|
||||
for my $line (split(/\n/, slurp($name))) {
|
||||
next if $line =~ /^\.\\\"/o;
|
||||
check_spelling($line, $manpage_spelling_exceptions, sub {
|
||||
|
@ -3,7 +3,7 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
mkdir -p deb/DIST-clang
|
||||
mkdir -p deb/DIST-clang/build
|
||||
tar xf *.tar.bz2 -C deb/DIST-clang --strip-components=1
|
||||
(cd deb/DIST-clang && scan-build -o ../CLANG --html-title="Analysis of i3 v$(git describe --tags)" make -j8)
|
||||
(cd deb/DIST-clang/build && scan-build -o ../../CLANG ../configure && scan-build -o ../../CLANG --html-title="Analysis of i3 v$(git describe --tags)" make -j8)
|
||||
mv deb/CLANG/*/* deb/CLANG
|
||||
|
@ -5,12 +5,15 @@ set -x
|
||||
|
||||
DEST=$1
|
||||
|
||||
make store_git_version
|
||||
make dist
|
||||
mkdir -p build
|
||||
cd build
|
||||
../configure
|
||||
make echo-version > ../I3_VERSION
|
||||
make dist-bzip2
|
||||
# unpack dist tarball
|
||||
mkdir -p "${DEST}"
|
||||
tar xf *.tar.bz2 -C "${DEST}" --strip-components=1
|
||||
cp -r debian "${DEST}"
|
||||
cp -r ../debian "${DEST}"
|
||||
sed -i '/^\s*libxcb-xrm-dev/d' deb/ubuntu-*/DIST/debian/control || true
|
||||
cd "${DEST}"
|
||||
debchange -m -l+g$(git describe --tags) 'Automatically built'
|
||||
|
@ -3,7 +3,7 @@
|
||||
set -e
|
||||
set -x
|
||||
|
||||
cd testcases
|
||||
cd build
|
||||
|
||||
# TODO: remove this workaround once https://bugs.debian.org/836723 is fixed
|
||||
# Found at https://llvm.org/bugs/show_bug.cgi?id=27310#c8:
|
||||
@ -26,7 +26,7 @@ fi
|
||||
|
||||
# Try running the tests in parallel so that the common case (tests pass) is
|
||||
# quick, but fall back to running them in sequence to make debugging easier.
|
||||
if ! xvfb-run ./complete-run.pl
|
||||
if ! xvfb-run make check
|
||||
then
|
||||
xvfb-run ./complete-run.pl --parallel=1 || (cat latest/complete-run.log; false)
|
||||
xvfb-run ./testcases/complete-run.pl --parallel=1 || (cat latest/complete-run.log; false)
|
||||
fi
|
||||
|
Reference in New Issue
Block a user