Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

40 rindas
831B

  1. language: generic
  2. dist: trusty
  3. sudo: required
  4. env:
  5. global:
  6. - DEPENDENCY_DIR="${TRAVIS_BUILD_DIR}/dependencies"
  7. cache:
  8. directories:
  9. - ${DEPENDENCY_DIR}
  10. matrix:
  11. include:
  12. - env: CXX=g++-7 CC=gcc-7
  13. addons:
  14. apt:
  15. packages:
  16. - g++-7
  17. sources: &sources
  18. - ubuntu-toolchain-r-test
  19. install:
  20. - mkdir -p "${DEPENDENCY_DIR}" && cd "${DEPENDENCY_DIR}"
  21. - |
  22. if [[ ! -d "$(ls -A ${DEPENDENCY_DIR}/cmake)" ]]; then
  23. CMAKE_URL="https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.tar.gz"
  24. mkdir -p cmake && travis_retry wget --no-check-certificate --quiet -O - "${CMAKE_URL}" | tar --strip-components=1 -xz -C cmake
  25. fi
  26. export PATH="${DEPENDENCY_DIR}/cmake/bin:${PATH}"
  27. - cd ${TRAVIS_BUILD_DIR}
  28. script:
  29. - script/ci_build.sh