2016-04-04 17:54:20 +03:00
|
|
|
sudo: required
|
2016-12-14 00:12:03 +03:00
|
|
|
services: docker
|
|
|
|
before_install:
|
|
|
|
- docker pull ubuntu:16.04
|
|
|
|
- docker run --privileged --cidfile=/tmp/cid ubuntu:16.04 /bin/sh -c 'apt-get update && apt-get install -y meson/xenial-backports libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libnotify-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev mono-devel desktop-file-utils'
|
|
|
|
- docker commit `cat /tmp/cid` hexchat/ubuntu-ci
|
|
|
|
- rm -f /tmp/cid
|
|
|
|
install:
|
|
|
|
- docker run -d --privileged --cidfile=/tmp/cid --volume=${PWD}:/opt/hexchat hexchat/ubuntu-ci /bin/systemd --system
|
2015-10-27 22:18:13 +03:00
|
|
|
script:
|
2018-04-03 23:09:25 +03:00
|
|
|
- docker exec `cat /tmp/cid` /bin/sh -c 'meson /opt/hexchat /opt/hexchat-build -Dwith-text=true -Dwith-theme-manager=true && ninja -C /opt/hexchat-build install && ninja -C /opt/hexchat-build test'
|
2016-12-14 00:12:03 +03:00
|
|
|
after_script:
|
|
|
|
- docker kill `cat /tmp/cid`
|
2013-06-13 23:08:35 +04:00
|
|
|
notifications:
|
2013-06-13 23:20:58 +04:00
|
|
|
irc:
|
|
|
|
channels: "chat.freenode.net#hexchat-devel"
|
2014-12-07 01:28:41 +03:00
|
|
|
template: "Build %{build_url} (%{commit} in %{branch}) by %{author}: %{message}"
|
2013-06-13 23:08:35 +04:00
|
|
|
on_success: change
|
2014-09-21 11:54:03 +04:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|