.travis.yml 600 B

1234567891011121314151617181920212223242526272829303132
  1. language: c
  2. dist: focal
  3. # Test using both gcc and clang
  4. env:
  5. - CC=gcc CXX=g++
  6. - CC=clang CXX=clang++
  7. addons:
  8. apt:
  9. packages:
  10. - scons
  11. - python3
  12. - python3-protobuf
  13. - protobuf-compiler
  14. before_install:
  15. - export PATH=$HOME/.local/bin:$HOME/protobuf/bin:$PATH
  16. - export MAKEFLAGS=-j$(nproc)
  17. - $CC --version
  18. - $CXX --version
  19. - python --version
  20. - lsb_release -a
  21. script:
  22. - pushd tests && scons CC=$CC CXX=$CXX && popd
  23. notifications:
  24. email:
  25. recipients:
  26. - jpa@travis.mail.kapsi.fi