Add Travis CI (#4)

This commit is contained in:
Daniel Foré 2017-05-16 14:12:21 -07:00 committed by Rico Tzschichholz
parent 40129198ea
commit 66b5d4ae43

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: generic
services:
- docker
env:
- DEPENDENCY_PACKAGES="automake autopoint gettext gnome-settings-daemon-dev gsettings-desktop-schemas-dev libbamf3-dev libcanberra-dev libcanberra-gtk3-dev libclutter-1.0-dev libgee-0.8-dev libglib2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev libmutter-dev libplank-dev libtool valac"
install:
- docker pull elementary/docker:loki
- docker run -v "$PWD":/tmp/build-dir elementary/docker:loki /bin/sh -c "apt-get update && apt-get -y install $DEPENDENCY_PACKAGES && cd /tmp/build-dir && ./autogen.sh && make"
- docker pull elementary/docker:loki-unstable
- docker run -v "$PWD":/tmp/build-dir elementary/docker:loki-unstable /bin/sh -c "apt-get update && apt-get -y install $DEPENDENCY_PACKAGES && cd /tmp/build-dir && ./autogen.sh && make"
script:
- echo BUILDS PASSED