Increase .travis.yml consistency between repos

- aspnet/Universe#349
- minimize `dotnet` setup time; no need for caching
- install packages used in other repos; explicit and avoids issues as (Beta) Trusty image changes
- just need one `brew install` command
This commit is contained in:
Doug Bunting 2016-09-04 18:14:36 -07:00
parent 7caf2518ff
commit d7936af545
1 changed files with 13 additions and 5 deletions

View File

@ -4,11 +4,16 @@ dist: trusty
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install nginx; 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/; else ./install-nginx.sh; fi
install:
- export PATH="$PATH:$HOME/nginxinstall/sbin/"
- zlib1g
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
mono:
- 4.0.5
os:
@ -21,6 +26,9 @@ branches:
- release
- dev
- /^(.*\/)?ci-.*$/
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl nginx; 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/; else ./install-nginx.sh; fi
install:
- export PATH="$PATH:$HOME/nginxinstall/sbin/"
script:
- ./build.sh --quiet verify