You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 796B

123456789101112131415161718192021222324252627282930
  1. ---
  2. language: go
  3. dist: xenial
  4. sudo: true
  5. go:
  6. - '1.11.x'
  7. - '1.12.x'
  8. compiler:
  9. - gcc
  10. install:
  11. # first we create a directory for the CMake binaries
  12. - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
  13. - mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
  14. # we use wget to fetch the cmake binaries
  15. - travis_retry wget --no-check-certificate https://cmake.org/files/v3.14/cmake-3.14.6-Linux-x86_64.tar.gz
  16. - echo "82e08e50ba921035efa82b859c74c5fbe27d3e49a4003020e3c77618a4e912cd cmake-3.14.6-Linux-x86_64.tar.gz" > sha256sum.txt
  17. - sha256sum -c sha256sum.txt
  18. - tar -xvf cmake-3.14.6-Linux-x86_64.tar.gz > /dev/null
  19. - mv cmake-3.14.6-Linux-x86_64 cmake-install
  20. - PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH
  21. - cd ${TRAVIS_BUILD_DIR}
  22. env:
  23. - GO111MODULE=on
  24. script:
  25. - make test