Code

initial travis file
authorMax Kellermann <max.kellermann@gmail.com>
Mon, 31 Jul 2017 21:26:23 +0000 (23:26 +0200)
committerMax Kellermann <max.kellermann@gmail.com>
Mon, 31 Jul 2017 21:29:05 +0000 (23:29 +0200)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..0cebe7b
--- /dev/null
@@ -0,0 +1,17 @@
+dist: trusty
+language: c
+
+os:
+  - osx
+
+before_install:
+  - test "$TRAVIS_OS_NAME" != "osx" || brew update
+
+install:
+  - test "$TRAVIS_OS_NAME" != "osx" || brew install meson ninja glib ncurses libmpdclient
+
+script:
+  - OPTIONS="-Dtest=true -Dlyrics_screen=true -Dchat_screen=true"
+  - test "$TRAVIS_OS_NAME" != "osx" || export PKG_CONFIG_PATH=/usr/local/opt/ncurses/lib/pkgconfig
+  - meson . output $OPTIONS
+  - ninja -v -C output