1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
irssi/.travis.yml

54 lines
1.3 KiB
YAML
Raw Normal View History

sudo: false
2017-06-23 06:03:05 -04:00
dist: trusty
language: perl
perl:
2017-06-23 06:03:05 -04:00
# ~stretch
- "5.24-shrplib"
# ~xenial
# - "5.22-shrplib"
# ~jessie
# - "5.20-shrplib"
# ~trusty
# - "5.18-shrplib"
- "system-perl"
env:
- CC=clang
- CC=gcc
2014-06-15 11:12:41 -04:00
addons:
apt:
packages:
- libperl-dev
- elinks
2014-06-15 11:12:41 -04:00
before_install:
- perl -V
2016-05-18 09:32:35 -04:00
- ./autogen.sh --with-proxy --with-bot --with-perl=module
- make dist
- cd ..
- tar xaf */irssi-*.tar.*
- cd irssi-*
2014-06-15 11:12:41 -04:00
2016-05-18 09:32:35 -04:00
install:
- ./configure --with-proxy --with-bot --with-perl=module --prefix=$HOME/irssi-build
- make CFLAGS="-Wall -Werror -Werror=declaration-after-statement"
- make install
2016-05-18 09:32:35 -04:00
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