Просмотр исходного кода

Add library requirements testing to Travis-CI.

Rene Rivera 9 лет назад
Родитель
Сommit
338ccef415
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      .travis.yml

+ 7 - 0
.travis.yml

@@ -48,6 +48,9 @@ matrix:
     
     
     # Build release package for CRLF end-of-line style text files (i.e. for Windows).
     # Build release package for CRLF end-of-line style text files (i.e. for Windows).
     - env: RELEASE_BUILD=CRLF
     - env: RELEASE_BUILD=CRLF
+    
+    # Library requirements tests.
+    - env: LIBRARY_CHECK=true
 
 
 before_install:
 before_install:
   # Fetch the script to do the actual building/testing.
   # Fetch the script to do the actual building/testing.
@@ -59,6 +62,10 @@ before_install:
     if [[ "${RELEASE_BUILD}" == "LF" || "${RELEASE_BUILD}" == "CRLF" ]]; then
     if [[ "${RELEASE_BUILD}" == "LF" || "${RELEASE_BUILD}" == "CRLF" ]]; then
       wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -O ../script.py
       wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -O ../script.py
     fi
     fi
+  - |
+    if [[ "${LIBRARY_CHECK}" == "true" ]]; then
+      wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_library_check.py" -O ../script.py
+    fi
 
 
 install: python "${TRAVIS_BUILD_DIR}/../script.py" install
 install: python "${TRAVIS_BUILD_DIR}/../script.py" install
 before_script: python "${TRAVIS_BUILD_DIR}/../script.py" before_script
 before_script: python "${TRAVIS_BUILD_DIR}/../script.py" before_script

粤ICP备19079148号