travis: Run tests

This commit is contained in:
Patrick Griffis 2018-04-03 16:09:25 -04:00
parent 5cd70622aa
commit c70c1e1896

View File

@ -8,7 +8,7 @@ before_install:
install: install:
- docker run -d --privileged --cidfile=/tmp/cid --volume=${PWD}:/opt/hexchat hexchat/ubuntu-ci /bin/systemd --system - docker run -d --privileged --cidfile=/tmp/cid --volume=${PWD}:/opt/hexchat hexchat/ubuntu-ci /bin/systemd --system
script: script:
- 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' - 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'
after_script: after_script:
- docker kill `cat /tmp/cid` - docker kill `cat /tmp/cid`
notifications: notifications: