.travis.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Use, modification, and distribution are
  2. # subject to the Boost Software License, Version 1.0. (See accompanying
  3. # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. #
  5. # Copyright Rene Rivera 2015-2016.
  6. # Copyright Peter Dimov 2017.
  7. branches:
  8. only:
  9. - master
  10. - develop
  11. dist: trusty
  12. language: cpp
  13. compiler: gcc
  14. addons:
  15. apt:
  16. packages:
  17. - p7zip-full
  18. - docutils-common
  19. - docutils-doc
  20. - docbook
  21. - docbook-xml
  22. - docbook-xsl
  23. - xsltproc
  24. - doxygen
  25. - dvipsk-ja
  26. - texlive
  27. - sshpass
  28. - ghostscript
  29. ssh_known_hosts: frs.sourceforge.net
  30. env:
  31. matrix:
  32. - TRAVIS_EMPTY_JOB_WORKAROUND=true
  33. matrix:
  34. exclude:
  35. - env: TRAVIS_EMPTY_JOB_WORKAROUND=true
  36. include:
  37. - env: SCRIPT=ci_boost_release MODE=check
  38. # Simple integrated status tests check.
  39. - env: SCRIPT=ci_boost_status
  40. # Run 'quick' tests.
  41. - env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=03,11
  42. compiler: g++
  43. - env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=clang CXXSTD=03,11
  44. compiler: clang++
  45. # Build Boost
  46. - env: SCRIPT=ci_boost_build TOOLSET=gcc CXXSTD=11
  47. compiler: g++
  48. # Run tests for the library updated by this commit.
  49. - env: SCRIPT=ci_boost_test_library TOOLSET=gcc CXXSTD=11
  50. compiler: g++
  51. - env: SCRIPT=ci_boost_test_library TOOLSET=clang CXXSTD=11
  52. compiler: clang++
  53. # # Library requirements tests.
  54. # - env: SCRIPT=ci_boost_library_check
  55. #
  56. # allow_failures:
  57. # - env: SCRIPT=ci_boost_library_check
  58. before_install:
  59. # Fetch the scripts to do the actual building/testing.
  60. - |
  61. wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ..
  62. wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P ..
  63. rvm install 2.3.3
  64. install: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" install
  65. before_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" before_script
  66. script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" script
  67. after_success: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_success
  68. after_failure: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_failure
  69. after_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_script
粤ICP备19079148号