Skip to content

Commit

Permalink
Merge pull request Azure#1186 from hovsepm/master
Browse files Browse the repository at this point in the history
Upgraded to the latest version of net core on Ubuntu.
  • Loading branch information
Hovsep authored Jun 22, 2016
2 parents 4aaef63 + af6f602 commit 8c6ad3e
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 8c6ad3e

Please sign in to comment.