Skip to content

Commit 4697dfd

Browse files
authored
install sdk 2.0.3. on travis linux before building
1 parent e986b0f commit 4697dfd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ matrix:
1010
include:
1111
- os: linux
1212
dist: trusty
13-
sudo: false
13+
sudo: required
14+
install:
15+
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
16+
- sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
17+
- sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
18+
- sudo apt-get update
19+
- sudo apt-get install dotnet-sdk-2.0.3
1420
- os: osx
1521
osx_image: xcode9
1622
sudo: required

0 commit comments

Comments
 (0)