Install the autopoint package for Travis builds.
[platform/upstream/libexif.git] / .travis.yml
1 # Travis CI configuration file
2
3 sudo: false
4
5 language: c
6
7 # Install autopoint on Ubuntu (needed for gettext)
8 addons:
9   apt:
10     packages:
11     - autopoint
12
13 script:
14   # Ensure brew gettext is in the PATH so autopoint is found on OS X
15   - PATH="$PATH:/usr/local/opt/gettext/bin" autoreconf -sivf
16   - ./configure --prefix="${HOME}"
17   - make
18   - make check
19   - make install
20
21 compiler:
22   - clang
23   - gcc
24
25 os:
26   - linux
27   - osx