You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .travis.yml
+5-25Lines changed: 5 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -4,40 +4,20 @@ os:
4
4
- linux
5
5
- osx
6
6
7
-
osx_image: xcode9
7
+
osx_image: xcode11.2
8
8
9
9
mono:
10
10
- weekly
11
11
- latest
12
-
- 5.8.0
12
+
- 6.0.0
13
13
14
-
dotnet: 2.1.4
14
+
dotnet: 3.0.100
15
15
16
16
sudo: false
17
17
18
18
install:
19
19
20
20
script:
21
-
- ./fcs/build.sh Build
22
-
23
-
# Woes with doing more build/test on linux
24
-
#
25
-
# This fails because NUnit gives an exception (!!!!)
26
-
# - ./fcs/build.sh Test.NetFx
27
-
#
28
-
# System.IO.FileNotFoundException: Could not load file or assembly 'nunit.engine.api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb' or one of its dependencies.
29
-
#
30
-
# This fails because Nuget packaging doesn't like backslashes in the package file, but Windows does
31
-
# - ./fcs/build.sh NuGet
32
-
33
-
# Fails on Travis OSX too often because there are network outages on that configuration getting the Mono MDK
34
-
# Fails on Travis Linux with Mono latest do to a trust issue with certs on package restore?
@@ -95,10 +95,15 @@ function InsertMaestroPrivateFeedCredentials($Sources, $Creds, $Password) {
95
95
}
96
96
97
97
if (!(Test-Path$ConfigFile-PathType Leaf)) {
98
-
Write-Host"Couldn't find the file NuGet config file: $ConfigFile"
98
+
Write-PipelineTelemetryError-Category 'Build'-Message "Eng/common/SetupNugetSources.ps1 returned a non-zero exit code. Couldn't find the NuGet config file: $ConfigFile"
99
99
ExitWithExitCode 1
100
100
}
101
101
102
+
if (!$Password) {
103
+
Write-PipelineTelemetryError-Category 'Build'-Message 'Eng/common/SetupNugetSources.ps1 returned a non-zero exit code. Please supply a valid PAT'
104
+
ExitWithExitCode 1
105
+
}
106
+
102
107
# Load NuGet.config
103
108
$doc=New-Object System.Xml.XmlDocument
104
109
$filename= (Get-Item$ConfigFile).FullName
@@ -121,7 +126,16 @@ if ($creds -eq $null) {
121
126
# Insert credential nodes for Maestro's private feeds
0 commit comments