From d6542506a8f3c3498509d525b00be602b5efdbb6 Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Tue, 17 Nov 2015 12:40:19 -0800 Subject: [PATCH] Move Travis to supported Linux distribution - use Ubuntu 14.04 (Trusty) - Travis support for Trusty is in Beta and currently requires `sudo` - run `dnu restore` with DNX Core since aspnet/External#49 is not fixed in Mono versions we can use - add required dependencies for DNX Core to `.travis.yml` - addresses part of aspnet/Universe#290 --- .travis.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index eb869cd139..8c8e21bfc4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,24 @@ language: csharp -sudo: false +sudo: required +dist: trusty +addons: + apt: + packages: + - gettext + - libcurl4-openssl-dev + - libicu-dev + - libssl-dev + - libunwind8 + - zlib1e +before_install: + - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; fi + - if test "$TRAVIS_OS_NAME" == "osx"; then brew install icu4c; fi env: - - MONO_THREADS_PER_CPU=2000 + - KOREBUILD_DNU_RESTORE_CORECLR=true MONO_THREADS_PER_CPU=2000 mono: - 4.0.5 os: - linux - osx script: - - ./build.sh --quiet verify \ No newline at end of file + - ./build.sh --quiet verify