blob: 4d5fc58353cdd63f4ec32b806a211df44ba5d5b5 [file] [log] [blame]
language: c
os:
- linux
env:
- EXTRALIBS="gettext libusb-dev"
- EXTRALIBS="gettext libusb-1.0-0-dev"
# Note: Keep the sudo commands in .travis.yml - they do not work from
# a helper shell script.
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install $(sh .travis-translate-pkgs $EXTRALIBS); fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y $(sh .travis-translate-pkgs $EXTRALIBS); fi
compiler:
- clang
- gcc
script:
- export PATH=/usr/local/opt/gettext/bin:$PATH ; echo "n" | sh ./autogen.sh
- make && make check
notifications:
email:
on_success: change
on_failure: always