浏览代码

Travis CI: List all available gcc versions

bel2125 7 年之前
父节点
当前提交
10ac6d5aca
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      .travis.yml
  2. 1 1
      test/CMakeLists.txt

+ 3 - 0
.travis.yml

@@ -18,6 +18,7 @@ addons:
       - libssl-dev
     sources:
       - kubuntu-backports
+      - ubuntu-toolchain-r-test
 
 before_install:
   - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
@@ -41,6 +42,8 @@ before_script:
   # Check some settings of the build server
   - uname -a
   - pwd
+  - apt-cache search gcc | grep "GNU C compiler"
+  - apt-cache search clang | grep compiler
   - if [[ "${BUILD_TYPE}" == "OSX_OPENSSL_1_1" ]]; then brew install openssl@1.1 ;fi
   # Generate the build scripts with CMake
   - mkdir output

+ 1 - 1
test/CMakeLists.txt

@@ -27,7 +27,7 @@ ExternalProject_Add(check-unit-test-framework
 ## Use a civetweb specific patched version
 URL "https://github.com/civetweb/check/archive/master.zip"
 DOWNLOAD_NAME "master.zip"
-## <Edit this file to flush AppVeyor build cache and force reloading check>
+# <Edit this file to flush AppVeyor build cache and force reloading check>
 
   PREFIX "${CIVETWEB_THIRD_PARTY_DIR}"
   BUILD_IN_SOURCE 1