Skip to content

Commit

Permalink
Add Travis CI (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored and codygarver committed Apr 27, 2017
1 parent fc33a69 commit bdd4948
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ You'll need the following dependencies:

* cmake
* libgranite-dev
* libgtk-3-dev
* libswitchboard-2.0-dev
* valac

Expand Down

0 comments on commit bdd4948

Please sign in to comment.