1
0

.travis.yml 580 B

123456789101112131415161718192021222324252627282930
  1. language: cpp
  2. dist: trusty
  3. os: linux
  4. compiler:
  5. - gcc
  6. jobs:
  7. include:
  8. - env: COMPILER=g++-8 BUILD=Release STANDARD=11
  9. compiler: gcc
  10. addons:
  11. apt:
  12. update: true
  13. sources:
  14. - ubuntu-toolchain-r-test
  15. packages:
  16. - g++-8
  17. - cmake
  18. install:
  19. - git clone https://github.com/protocolbuffers/protobuf.git -b v3.12.0
  20. - cd protobuf
  21. - sh autogen.sh
  22. - ./configure
  23. - make
  24. - sudo make install
  25. - cd ..
  26. - export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
  27. script:
  28. - make
  29. - make tutorial