build: Add Travis CI for Linux
This commit is contained in:
parent
4e50d51a12
commit
72dee067ff
15
.travis.yml
Normal file
15
.travis.yml
Normal file
|
@ -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" .
|
||||
|
44
build/ci/Dockerfile
Normal file
44
build/ci/Dockerfile
Normal file
|
@ -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
|
||||
|
Loading…
Reference in a new issue