1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

mess with travis

This commit is contained in:
ailin-nemui 2017-11-26 21:23:51 +01:00
parent d932e6e4b7
commit d6458304d7

View File

@ -12,8 +12,13 @@ perl:
# - "5.18-shrplib"
- "system-perl"
env:
- CC=clang
- CC=gcc
- CC=clang UNITTESTS=false
- CC=gcc UNITTESTS=false
- CC=clang UNITTESTS=true
matrix:
exclude:
- env: CC=clang UNITTESTS=true
perl: "system-perl"
addons:
apt:
@ -31,11 +36,12 @@ before_install:
install:
- ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
$( $UNITTESTS && echo --enable-always-build-tests )
- make CFLAGS="-Wall -Werror -Werror=declaration-after-statement"
- make install
before_script:
- cd
- pushd ~
- mkdir irssi-test
- echo echo automated irssi launch test > irssi-test/startup;
echo ^set settings_autosave off >> irssi-test/startup;
@ -47,9 +53,12 @@ before_script:
- echo load perl >> irssi-test/startup
- echo load proxy >> irssi-test/startup
- echo ^quit >> irssi-test/startup
- irssi-build/bin/irssi --home irssi-test
- cat irc.log.*
- cd $TRAVIS_BUILD_DIR
script:
- make check
- irssi-build/bin/irssi --home irssi-test
- popd
- if $UNITTESTS; then make -C tests -sk check; fi
after_script:
- cat ~/irc.log.*;
find -name test-suite.log -exec cat {} +