Updated Travis config to enable running on Mac and also fixed test
This commit is contained in:
parent
dde06ffdcb
commit
573bdcc318
|
|
@ -27,4 +27,5 @@ nuget.exe
|
||||||
node_modules
|
node_modules
|
||||||
*.sln.ide
|
*.sln.ide
|
||||||
project.lock.json
|
project.lock.json
|
||||||
.vs/
|
.vs/
|
||||||
|
launchSettings.json
|
||||||
|
|
@ -10,9 +10,14 @@ addons:
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libunwind8
|
- libunwind8
|
||||||
- zlib1g
|
- zlib1g
|
||||||
|
before_install:
|
||||||
|
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install icu4c; fi
|
||||||
env:
|
env:
|
||||||
- KOREBUILD_DNU_RESTORE_CORECLR=true KOREBUILD_TEST_DNXCORE=true
|
- KOREBUILD_DNU_RESTORE_CORECLR=true KOREBUILD_TEST_DNXCORE=true
|
||||||
mono:
|
mono:
|
||||||
- 4.0.5
|
- 4.0.5
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
script:
|
script:
|
||||||
- ./build.sh --quiet verify
|
- ./build.sh --quiet verify
|
||||||
|
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
{
|
|
||||||
"iisSettings": {
|
|
||||||
"windowsAuthentication": false,
|
|
||||||
"anonymousAuthentication": true,
|
|
||||||
"iisExpress": {
|
|
||||||
"applicationUrl": "http://localhost:41542/",
|
|
||||||
"sslPort": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"profiles": {
|
|
||||||
"IIS Express": {
|
|
||||||
"commandName": "IISExpress",
|
|
||||||
"launchBrowser": true,
|
|
||||||
"environmentVariables": {
|
|
||||||
"ASPNET_ENV": "Development"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"web": {
|
|
||||||
"commandName": "web",
|
|
||||||
"commandLineArgs": " ",
|
|
||||||
"environmentVariables": {
|
|
||||||
"Hosting:Environment": "Development"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -35,7 +35,7 @@ namespace Microsoft.AspNet.Diagnostics
|
||||||
"TestFiles/SourceFile.txt"
|
"TestFiles/SourceFile.txt"
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!TestPlatformHelper.IsLinux)
|
if (!(TestPlatformHelper.IsLinux || TestPlatformHelper.IsMac))
|
||||||
{
|
{
|
||||||
data.Add(@"TestFiles\SourceFile.txt");
|
data.Add(@"TestFiles\SourceFile.txt");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue