Install the autopoint package for Travis builds.
authorDan Fandrich <dan@coneharvesters.com>
Sat, 18 Aug 2018 05:02:03 +0000 (07:02 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 18 Aug 2018 06:15:12 +0000 (08:15 +0200)
This is needed because gettext is used.

.travis.yml

index 2adaf37..6b2851e 100644 (file)
@@ -4,8 +4,15 @@ sudo: false
 
 language: c
 
+# Install autopoint on Ubuntu (needed for gettext)
+addons:
+  apt:
+    packages:
+    - autopoint
+
 script:
-  - autoreconf -sivf
+  # Ensure brew gettext is in the PATH so autopoint is found on OS X
+  - PATH="$PATH:/usr/local/opt/gettext/bin" autoreconf -sivf
   - ./configure --prefix="${HOME}"
   - make
   - make check