From 3ad40bacdd79e08fa166ce3984e75f9d38fb9131 Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Sun, 4 Sep 2016 16:05:46 -0700 Subject: [PATCH] Increase .travis.yml consistency between repos - aspnet/Universe#349 - minimize `dotnet` setup time; no need for caching - build with `--quiet` - `KOREBUILD_TEST_DNXCORE` env variable isn't used anymore - no need for libuv v1.4.2 w/ current Kestrel packages - no need for icu4c w/ current `dotnet` builds --- .travis.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4f8bc66d7e..d8151aac24 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,18 +10,11 @@ addons: - libssl-dev - libunwind8 - zlib1g -before_install: - - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install icu4c; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi env: - - KOREBUILD_TEST_DNXCORE=true NO_PARALLEL_TEST_PROJECTS=E2ETests -install: - - curl -sSL https://github.com/libuv/libuv/archive/v1.4.2.tar.gz | tar zxfv - -C /tmp && cd /tmp/libuv-1.4.2/ - - sh autogen.sh - - ./configure --prefix=$HOME/libuvinstall - - make - - make install - - export LD_LIBRARY_PATH="$HOME/libuvinstall/lib" - - cd $OLDPWD + global: + - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + - DOTNET_CLI_TELEMETRY_OPTOUT: 1 + - NO_PARALLEL_TEST_PROJECTS=E2ETests mono: - 4.0.5 os: @@ -34,5 +27,7 @@ branches: - release - dev - /^(.*\/)?ci-.*$/ +before_install: + - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi script: - - ./build.sh verify + - ./build.sh --quiet verify