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
This commit is contained in:
Doug Bunting 2015-11-17 12:40:19 -08:00
parent 8078f691f0
commit d6542506a8
1 changed files with 16 additions and 3 deletions

View File

@ -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
- ./build.sh --quiet verify