.travis.yml 823 B

123456789101112131415161718192021222324252627282930
  1. language: c
  2. script:
  3. # uncrustify
  4. # - curl -L https://github.com/uncrustify/uncrustify/archive/uncrustify-0.70.0.tar.gz | tar -xz
  5. # - cd uncrustify-uncrustify-0.70.0
  6. # - ls
  7. # - cmake . -Bbuild
  8. # - cmake --build build
  9. # - cp build/uncrustify .. && cd ..
  10. # - ./uncrustify --version
  11. # - python tools/format.py --check
  12. # gcc
  13. - export CC=gcc CXX=g++
  14. - cmake test -Bbuild
  15. - cmake --build build
  16. - ./build/test_shapes
  17. - rm -rf build
  18. - echo Switching from gcc to clang...
  19. # clang
  20. - export CC=clang CXX=clang++
  21. - cmake test -Bbuild
  22. - cmake --build build
  23. # smoke tests
  24. - ./build/test_bubbles
  25. - ./build/test_shapes
  26. - ./build/test_filecache
  27. - ./build/test_filecache_lz4
  28. - ./build/test_sprune
  29. - ./build/test_strings
  30. - ./build/test_octasphere