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:
parent
7caf2518ff
commit
d7936af545
18
.travis.yml
18
.travis.yml
|
|
@ -4,11 +4,16 @@ dist: trusty
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
- gettext
|
||||||
|
- libcurl4-openssl-dev
|
||||||
|
- libicu-dev
|
||||||
|
- libssl-dev
|
||||||
- libunwind8
|
- libunwind8
|
||||||
before_install:
|
- zlib1g
|
||||||
- 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
|
env:
|
||||||
install:
|
global:
|
||||||
- export PATH="$PATH:$HOME/nginxinstall/sbin/"
|
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||||
|
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
||||||
mono:
|
mono:
|
||||||
- 4.0.5
|
- 4.0.5
|
||||||
os:
|
os:
|
||||||
|
|
@ -21,6 +26,9 @@ branches:
|
||||||
- release
|
- release
|
||||||
- dev
|
- dev
|
||||||
- /^(.*\/)?ci-.*$/
|
- /^(.*\/)?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:
|
script:
|
||||||
- ./build.sh --quiet verify
|
- ./build.sh --quiet verify
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue