.travis.yml 608 B

1234567891011121314151617181920212223242526
  1. language: c
  2. compiler:
  3. - gcc
  4. - clang
  5. os:
  6. - linux
  7. - osx
  8. before_install:
  9. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
  10. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libogg; fi
  11. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
  12. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y perl libogg-dev; fi
  13. env:
  14. - CONFIG="--disable-examples --disable-doc"
  15. - CONFIG="--disable-examples --disable-encode"
  16. - CONFIG="--disable-examples --disable-asm"
  17. script:
  18. - ./autogen.sh
  19. - ./configure $CONFIG
  20. - make check