.travis.yml 905 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. language: cpp
  2. jobs:
  3. include:
  4. - os: linux
  5. dist: xenial
  6. compiler: gcc
  7. env: COVERALLS=no
  8. script:
  9. - ./configure
  10. - make clean
  11. - make libhv examples unittest evpp
  12. - os: osx
  13. compiler: clang
  14. env: COVERALLS=no
  15. scrit:
  16. - ./configure
  17. - make clean
  18. - make libhv examples unittest evpp
  19. - os: windows
  20. compiler: msvc
  21. env: COVERALLS=no
  22. script:
  23. - mkdir win64
  24. - cd win64
  25. - cmake .. -G "Visual Studio 15 2017 Win64"
  26. - cmake --build .
  27. before_script:
  28. - if [ "$COVERALLS" = "yes" ]; then
  29. pip install --user cpp-coveralls;
  30. export CC="$CC --coverage" CXX="$CXX --coverage";
  31. fi
  32. after_success:
  33. - if [ "$COVERALLS" = "yes" ]; then
  34. scripts/test-coverage.sh;
  35. coveralls --gcov-options '\-lp' --include base --include event --include http;
  36. fi