fix autobahn test app to be an app (#114)

* fix autobahn test app to be an app
* remove net46 version of autobahn conformance test, the autobahn suite doesn't need to be run twice...
* add appveyor and travis support for autobahn
This commit is contained in:
Andrew Stanton-Nurse 2017-01-11 16:36:48 -08:00 committed by GitHub
parent 8dc68cb798
commit 20d8f1fca2
5 changed files with 12 additions and 5 deletions

View File

@ -16,6 +16,8 @@ env:
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
mono:
- 4.0.5
python:
- "2.7"
os:
- linux
- osx
@ -27,6 +29,8 @@ branches:
- dev
- /^(.*\/)?ci-.*$/
before_install:
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl python; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
install:
- sudo pip install autobahntestsuite "six>=1.9.0"
script:
- ./build.sh --quiet verify

View File

@ -9,6 +9,9 @@ branches:
- /^(.*\/)?ci-.*$/
build_script:
- build.cmd --quiet verify
install:
- set PATH=C:\Python27\scripts;%PATH%
- pip install autobahntestsuite
clone_depth: 1
test: off
deploy: off

View File

@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest
{
public class AutobahnTests
{
[ConditionalFact(Skip = "Failing test. See https://github.com/aspnet/SignalR/issues/23")]
[ConditionalFact]
[SkipIfWsTestNotPresent]
public async Task AutobahnTestSuite()
{

View File

@ -21,7 +21,6 @@
"type": "platform"
}
}
},
"net46": {}
}
}
}

View File

@ -24,7 +24,8 @@
"net46": { }
},
"buildOptions": {
"warningsAsErrors": true
"warningsAsErrors": true,
"emitEntryPoint": true
},
"runtimeOptions": {
"configProperties": {