Skip to content

Commit

Permalink
Update Travis CI to use meson
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Noël committed Jul 26, 2018
1 parent d17e038 commit 3b902a0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ services:
- docker

env:
- DEPENDENCY_PACKAGES="cmake libclutter-gtk-1.0-dev libgee-0.8-dev libglib2.0-dev libgranite-dev libgtk-3-dev libunity-dev valac"
- DEPENDENCY_PACKAGES="meson libclutter-gtk-1.0-dev libgee-0.8-dev libglib2.0-dev libgranite-dev libgtk-3-dev libunity-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"
- docker pull elementary/docker:juno-unstable
- docker run -v "$PWD":/tmp/build-dir elementary/docker:juno-unstable /bin/sh -c "apt-get update && apt-get -y install $DEPENDENCY_PACKAGES && cd /tmp/build-dir && meson build --prefix=/usr && cd build && ninja"

script:
- echo BUILDS PASSED

0 comments on commit 3b902a0

Please sign in to comment.