diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..13f43062 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +sudo: required + +services: + - docker + +os: + - linux + +before_install: + - cd build/ci/ + - docker pull ubuntu:xenial + +script: + - docker build -t "sparkleshare:nightly" . + diff --git a/build/ci/Dockerfile b/build/ci/Dockerfile new file mode 100644 index 00000000..8b419a95 --- /dev/null +++ b/build/ci/Dockerfile @@ -0,0 +1,44 @@ +FROM ubuntu:16.04 + +RUN apt-get update +RUN apt-get install -y \ + desktop-file-utils \ + git \ + gtk-sharp3-gapi \ + intltool \ + libdbus-glib2.0-cil-dev \ + libgtk3.0-cil-dev \ + libsoup2.4-dev \ + libtool-bin \ + libwebkit2gtk-4.0 \ + mono-devel \ + mono-mcs \ + nant \ + xsltproc + +RUN git clone https://github.com/hbons/notify-sharp && \ + cd notify-sharp/ && \ + ./autogen.sh --disable-docs && \ + make && make install + +RUN cd ../ + +RUN git clone https://github.com/hbons/soup-sharp && \ + cd soup-sharp/ && \ + ./autogen.sh && \ + make && make install + +RUN cd ../ + +RUN git clone https://github.com/hbons/webkit2gtk-sharp && \ + cd webkit2gtk-sharp/ && \ + ./autogen.sh && \ + make && make install + +RUN cd ../ + +RUN git clone https://github.com/hbons/SparkleShare && \ + cd SparkleShare/ && \ + ./autogen.sh && \ + make && make install +