summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-05-18 15:32:35 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-05-18 16:50:41 +0200
commit36beddc64f881c2c9618b449ed5c590d41872455 (patch)
tree3b42309664fc327aa7c073de68eafac6f9f93748
parentf43040b926a290a7ae582e669cb1985ee852682a (diff)
downloadirssi-36beddc64f881c2c9618b449ed5c590d41872455.zip
test make dist in travis
-rw-r--r--.travis.yml30
1 files changed, 25 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 46f58766..804dc58c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,11 +16,31 @@ addons:
before_install:
- perl -V
+ - ./autogen.sh --with-proxy --with-bot --with-perl=module
+ - make dist
+ - cd ..
+ - tar xaf */irssi-*.tar.*
+ - cd irssi-*
-install: true
-
-script:
- - ./autogen.sh --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
- - cat config.log
+install:
+ - ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
- make CFLAGS="-Wall -Werror"
- 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