Skip to content

Commit 2aef58e

Browse files
committed
update travis to 17.10 and latest dotnet.
1 parent 19de8db commit 2aef58e

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sudo: required
22
language: csharp
33
os:
44
- linux
5-
dist: trusty
5+
dist: artful
66

77
script:
88
- ./install-latest-dotnet.sh

install-latest-dotnet.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
#!/usr/bin/env bash
22

3-
sudo apt-get install -y libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev libcurl4-openssl-dev libssl-dev uuid-dev unzip
4-
wget https://download.microsoft.com/download/1/B/4/1B4DE605-8378-47A5-B01B-2C79D6C55519/dotnet-sdk-2.0.0-linux-x64.tar.gz
5-
mkdir ~/dotnet
6-
tar zxf dotnet-sdk-2.0.0-linux-x64.tar.gz -C ~/dotnet
7-
sudo ln -s ~/dotnet/dotnet /usr/bin/
3+
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
4+
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
5+
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'
6+
7+
sudo apt-get install apt-transport-https
8+
sudo apt-get update
9+
sudo apt-get install dotnet-sdk-2.1.4
10+
811
dotnet --info

0 commit comments

Comments
 (0)