irssi/.travis.yml
2015-02-17 10:04:52 +00:00

43 lines
933 B
YAML

language: perl
perl:
- "5.20-shrplib"
- "5.18-shrplib"
- "system-perl"
env:
- CC=clang
- CC=gcc
before_install:
- |
if [ "$CC" = "gcc" ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
export CC="gcc-4.8"
fi
- sudo apt-get update -qq
- perl -V
- sudo apt-get build-dep -qq irssi
- sudo apt-get install -qq lynx
- |
case "$CC" in gcc-*) :
sudo apt-get install -qq $CC
esac
install: true
script:
- ./autogen.sh --with-proxy --with-bot --with-perl=module
- cat config.log
- make
- sudo make install
notifications:
irc:
channels:
- "irc.freenode.net#irssi"
template:
- "%{repository} (%{commit}: %{author}): %{message}"
- "Build details : %{build_url}"
on_success: always
on_failure: always
use_notice: true
skip_join: true