mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
Merge pull request #482 from ailin-nemui/travis-test-dist
test make dist in travis
This commit is contained in:
commit
1a6ec1b0b6
4 changed files with 29 additions and 7 deletions
30
.travis.yml
30
.travis.yml
|
|
@ -16,11 +16,31 @@ addons:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- perl -V
|
- perl -V
|
||||||
|
- ./autogen.sh --with-proxy --with-bot --with-perl=module
|
||||||
|
- make dist
|
||||||
|
- cd ..
|
||||||
|
- tar xaf */irssi-*.tar.*
|
||||||
|
- cd irssi-*
|
||||||
|
|
||||||
install: true
|
install:
|
||||||
|
- ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
|
||||||
script:
|
|
||||||
- ./autogen.sh --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
|
|
||||||
- cat config.log
|
|
||||||
- make CFLAGS="-Wall -Werror"
|
- make CFLAGS="-Wall -Werror"
|
||||||
- make install
|
- make install
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- cd
|
||||||
|
- mkdir irssi-test
|
||||||
|
- echo echo automated irssi launch test > irssi-test/startup;
|
||||||
|
echo ^set settings_autosave off >> irssi-test/startup;
|
||||||
|
echo ^set -clear log_close_string >> irssi-test/startup;
|
||||||
|
echo ^set -clear log_day_changed >> irssi-test/startup;
|
||||||
|
echo ^set -clear log_open_string >> irssi-test/startup;
|
||||||
|
echo ^set log_timestamp '* ' >> irssi-test/startup;
|
||||||
|
echo ^window log on >> irssi-test/startup
|
||||||
|
- 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.*
|
||||||
|
|
||||||
|
script: true
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,7 @@ libcore_a_SOURCES = \
|
||||||
signals.c \
|
signals.c \
|
||||||
special-vars.c \
|
special-vars.c \
|
||||||
utf8.c \
|
utf8.c \
|
||||||
|
wcwidth.c \
|
||||||
write-buffer.c
|
write-buffer.c
|
||||||
|
|
||||||
structure_headers = \
|
structure_headers = \
|
||||||
|
|
@ -94,6 +95,7 @@ pkginc_core_HEADERS = \
|
||||||
settings.h \
|
settings.h \
|
||||||
signals.h \
|
signals.h \
|
||||||
special-vars.h \
|
special-vars.h \
|
||||||
|
utf8.h \
|
||||||
window-item-def.h \
|
window-item-def.h \
|
||||||
write-buffer.h \
|
write-buffer.h \
|
||||||
$(structure_headers)
|
$(structure_headers)
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "utf8.h"
|
#include "utf8.h"
|
||||||
#include "module.h"
|
#include "module.h"
|
||||||
#include "wcwidth.c"
|
|
||||||
/* Provide is_utf8(): */
|
/* Provide is_utf8(): */
|
||||||
#include "recode.h"
|
#include "recode.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
* Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
|
* Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "module.h"
|
#include "utf8.h"
|
||||||
|
|
||||||
struct interval {
|
struct interval {
|
||||||
int first;
|
int first;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue