diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..6e5f19c9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: generic + +services: + - docker + +env: + - DEPENDENCY_PACKAGES="cmake libgranite-dev libswitchboard-2.0-dev 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 && cmake . && env CTEST_OUTPUT_ON_FAILURE=true 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 && cmake . && env CTEST_OUTPUT_ON_FAILURE=true make" + +script: + - echo BUILDS PASSED diff --git a/README.md b/README.md index 6246d723..3c190502 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ You'll need the following dependencies: * cmake * libgranite-dev -* libgtk-3-dev * libswitchboard-2.0-dev * valac