From af6f60296a9508cfabdbbb7b986e9ae9d930f51d Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Tue, 21 Jun 2016 17:58:24 -0700 Subject: [PATCH] Upgraded to the latest version of net core on Ubuntu. --- .travis.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3eaf4ac380f4c..6a48bad8ae43f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,13 @@ addons: sources: - deadsnakes packages: + # CoreCLR packages required for manual installation. Should be removed once we move to apt-det + - gettext + - libcurl4-openssl-dev + - libicu-dev + - libssl-dev + - libunwind8 + - zlib1g # Packages required for android build - libc6-i386 - lib32stdc++6 @@ -31,10 +38,14 @@ install: - echo y | ./android/android-sdk-linux/tools/android update sdk --all --filter extra-android-support,extra-android-m2repository,extra-google-m2repository --no-ui --force - export ANDROID_HOME=`pwd`/android/android-sdk-linux # Install NetCore RC2 - - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' - - sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893 - - sudo apt-get update - - sudo apt-get install dotnet-dev-1.0.0-preview1-002702 -y + # due to bug in apt-get we need to use curl to download dotnet-install.sh. Commenting apt-get installation steps till the bug will be fixed. + # - sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list' + # - sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893 + # - sudo apt-get update + # - sudo apt-get install dotnet-dev-1.0.0-preview2-003118 -y + - mkdir dotnet + - curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview1/scripts/obtain/dotnet-install.sh | bash /dev/stdin --version 1.0.0-preview1-002702 --install-dir ./dotnet + - export PATH=`pwd`/dotnet:$PATH script: - gulp after_script: