diff --git a/.travis.yml b/.travis.yml index 7776c3f58..51e08a703 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ cache: - $DOCKER_TRAVIS_CI_CACHE_DIR sudo: required language: cpp +dotnet: 2.1.4 services: - docker env: @@ -74,8 +75,6 @@ env: - LINUX_BASE=ubuntu_14.04 C_COMPILER=/usr/bin/gcc-4.8 CXX_COMPILER=/usr/bin/g++-4.8 TARGET_ARCH=x86_64 Z3_BUILD_TYPE=RelWithDebInfo # 64-bit GCC 4.8 Debug - LINUX_BASE=ubuntu_14.04 C_COMPILER=/usr/bin/gcc-4.8 CXX_COMPILER=/usr/bin/g++-4.8 TARGET_ARCH=x86_64 Z3_BUILD_TYPE=Debug RUN_UNIT_TESTS=BUILD_ONLY - include: - - dotnet: 2.1.4 # macOS (a.k.a OSX) support matrix: @@ -87,8 +86,9 @@ matrix: osx_image: xcode8.3 # Note: Apple Clang does not support OpenMP env: Z3_BUILD_TYPE=RelWithDebInfo USE_OPENMP=0 DOTNET_BINDINGS=0 - - dotnet: 2.1.4 script: + # Add at least one dotnet command invocation to activate the build env. + - dotnet restore # Use `travis_wait` when doing LTO builds because this configuration will # have long link times during which it will not show any output which # TravisCI might kill due to perceived inactivity.