.travis.yml 348 B

12345678910111213141516171819202122
  1. language: c
  2. addons:
  3. apt:
  4. packages: &1
  5. - lcov
  6. # Compiler selection
  7. compiler:
  8. - clang
  9. - gcc
  10. env:
  11. - ANALYZE=false
  12. - ANALYZE=true
  13. # Build steps
  14. script:
  15. - ./.travis.sh
  16. after_success:
  17. # Creating report
  18. - cmake -DENABLE_COVERAGE=ON
  19. - make
  20. - make test
  21. # Uploading report to CodeCov
  22. - bash <(curl -s https://codecov.io/bash)