.travis.yml 456 B

1234567891011121314151617
  1. language: c
  2. before_install:
  3. - sudo apt-get update -qq
  4. - sudo apt-get install -y automake libtool libsnmp-dev bison make gcc flex snmp-mibs-downloader
  5. - sudo pip install cpp-coveralls
  6. - ./autogen.sh
  7. script:
  8. - ./configure CFLAGS='-g -O0 -fprofile-arcs -ftest-coverage'
  9. - make && sudo make install
  10. - cd tests/
  11. - ./RunTests.sh
  12. - cd ..
  13. after_success:
  14. - coveralls --exclude src/docsis_lex.c --exclude src/docsis_yy.c --gcov-options '\-lp'