Execute `dnu restore` with .NET Core and use Mono 4.0.5

- upgrade Linux to Trusty (Ubuntu 14.04) distribution, where .NET Core is supported
- Mono beta is now 4.2.1 which doesn't work with `nuget.exe`
  - see also aspnet/External#48

Note: cannot use `KOREBUILD_TEST_DNXCORE=true` due to #577
This commit is contained in:
Doug Bunting 2015-11-17 09:19:47 -08:00
parent f6c7295f41
commit e4084f4ff4
1 changed files with 17 additions and 4 deletions

View File

@ -1,9 +1,22 @@
language: csharp
sudo: false
mono:
- beta
sudo: required
dist: trusty
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
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