1language: c 2 3os: 4 - linux 5 6env: 7 - EXTRALIBS="gettext libusb-dev" 8 - EXTRALIBS="gettext libusb-1.0-0-dev" 9 10# Note: Keep the sudo commands in .travis.yml - they do not work from 11# a helper shell script. 12before_install: 13 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi 14 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install $(sh .travis-translate-pkgs $EXTRALIBS); fi 15 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi 16 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y $(sh .travis-translate-pkgs $EXTRALIBS); fi 17 18compiler: 19 - clang 20 - gcc 21 22script: 23 - export PATH=/usr/local/opt/gettext/bin:$PATH ; echo "n" | sh ./autogen.sh 24 - make && make check 25 26notifications: 27 email: 28 on_success: change 29 on_failure: always 30