Skip to content

Commit

Permalink
chore: Use Xenial image for Travis
Browse files Browse the repository at this point in the history
.Net install started to fail on 14.04
Pipelines is already using this version
  • Loading branch information
nschonni committed Apr 19, 2019
1 parent eecb26c commit 9dc028c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist: xenial
language: node_js
node_js:
- '10'
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
vmImage: 'Ubuntu 16.04'
steps:
- script: 'scripts/install-dotnet.sh'
displayName: 'Insall .Net'
displayName: 'Install .Net'
- task: Npm@1
displayName: 'npm install'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion preproduction-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
vmImage: 'Ubuntu 16.04'
steps:
- script: 'scripts/install-dotnet.sh'
displayName: 'Insall .Net'
displayName: 'Install .Net'
- task: Npm@1
displayName: 'npm install'
inputs:
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-dotnet.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

# From https://www.microsoft.com/net/download/linux-package-manager/ubuntu14-04/sdk-2.0.0
# From https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/sdk-2.0.0

wget -q https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install apt-transport-https -y
sudo apt-get update
Expand Down

0 comments on commit 9dc028c

Please sign in to comment.