提交 19927018 编写于 作者: R Ryan Brandenburg

Reorganize source code in preparation to move into aspnet/AspNetCore

Prior to reorganization, this source code was found in https://github.com/aspnet/SignalR/tree/d0bcdf3dd92afba858fca2871535faf4594c81de
上级 d0bcdf3d
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.jpg binary
*.png binary
*.gif binary
*.cs text=auto diff=csharp
*.vb text=auto
*.resx text=auto
*.c text=auto
*.cpp text=auto
*.cxx text=auto
*.h text=auto
*.hxx text=auto
*.py text=auto
*.rb text=auto
*.java text=auto
*.html text=auto
*.htm text=auto
*.css text=auto
*.scss text=auto
*.sass text=auto
*.less text=auto
*.js text=auto
*.lisp text=auto
*.clj text=auto
*.sql text=auto
*.php text=auto
*.lua text=auto
*.m text=auto
*.asm text=auto
*.erl text=auto
*.fs text=auto
*.fsx text=auto
*.hs text=auto
*.csproj text=auto
*.vbproj text=auto
*.fsproj text=auto
*.dbproj text=auto
*.sln text=auto eol=crlf
*.sh eol=lf
# Workaround for npm changing line endings from CRLF to LF on Windows. Should be fixed in npm 5.8.0.
# https://github.com/npm/npm/issues/17161#issuecomment-337696678
# https://github.com/npm/npm/releases/tag/v5.8.0-next.0
package.json text eol=lf
package-lock.json text eol=lf
### If you believe you have an issue that affects the security of the platform please do NOT create an issue and instead email your issue details to secure@microsoft.com. Your report may be eligible for our [bug bounty](https://technet.microsoft.com/en-us/mt764065.aspx).
### Please consider the following before filing an issue
* If you are using NuGet Packages that start with `Microsoft.AspNet.SignalR`, use the issue tracker at https://github.com/SignalR/SignalR to report the issue. This
repository is for packages that start with `Microsoft.AspNetCore.SignalR` (and NPM packages that start with `@aspnet/signalr`)
### Please include as much of the following as you can in your bug report
* Versions of Server-Side NuGet Packages:
* Versions of Client-Side NuGet/NPM Packages:
* Are you using the C# client or the JavaScript client:
* The Server you are using (Kestrel/HttpSysServer/IIS/IIS Express/Azure Web App/etc.):
* The Operating System on the Server (Windows/Linux/macOS):
* The Operating System on the Client (Windows/Linux/macOS):
* The Browser on the client, if using the JavaScript client (IE/Chrome/Edge/Firefox/etc.):
* Please use the Diagnostics Guide at https://github.com/aspnet/SignalR/wiki/Diagnostics-Guide to collect server-side and client-side logs and network traces if possible. Please **do not** put the traces and logs in the Issue text as they are quite large. The Diagnostics Guide describes how to attach them to the issue.
When in doubt, feel free to file the issue, we're happy to help answer questions. We also suggest using the `asp.net-core-signalr` tag on StackOverflow to ask questions.
language: csharp
sudo: required
dist: trusty
services:
- docker
env:
global:
- SIGNALR_TESTS_VERBOSE: 1
- TRAVIS_NODE_VERSION: 8.9.3
mono: none
os:
- linux
- osx
osx_image: xcode8.2
addons:
chrome: stable
apt:
packages:
- libunwind8
branches:
only:
- dev
- /^release\/.*$/
- /^(.*\/)?ci-.*$/
before_install:
- nvm install $TRAVIS_NODE_VERSION
- if test "$TRAVIS_OS_NAME" == "linux"; then docker pull redis; fi
script:
- ./build.sh --ci
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Java - Debug (Launch)",
"request": "launch",
"cwd": "${workspaceFolder}/clients/java/",
"console": "externalTerminal",
"stopOnEntry": false,
"mainClass": "com.microsoft.signalr.sample.Chat",
"args": ""
},
{
"type": "node",
"request": "attach",
"name": "Node - Attach by Process ID",
"processId": "${command:PickProcess}"
},
{
"type": "node",
"request": "launch",
"name": "Jest - All",
"program": "${workspaceFolder}/clients/ts/common/node_modules/jest/bin/jest",
"cwd": "${workspaceFolder}/clients/ts",
"args": ["--runInBand"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "Jest - Current File",
"program": "${workspaceFolder}/clients/ts/common/node_modules/jest/bin/jest",
"cwd": "${workspaceFolder}/clients/ts",
"args": ["${relativeFile}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
\ No newline at end of file
trigger:
- master
- release/*
resources:
repositories:
- repository: buildtools
type: git
name: aspnet-BuildTools
ref: refs/heads/release/2.2
jobs:
- template: .azure/templates/project-ci.yml@buildtools
parameters:
beforeBuild:
- task: NodeTool@0
displayName: Use Node 8.x
inputs:
versionSpec: 8.x
trigger:
- master
- release/*
# See https://github.com/aspnet/BuildTools
resources:
repositories:
- repository: buildtools
type: github
endpoint: DotNet-Bot GitHub Connection
name: aspnet/BuildTools
ref: refs/heads/release/2.2
jobs:
- template: .azure/templates/project-ci.yml@buildtools
parameters:
beforeBuild:
- task: NodeTool@0
displayName: Use Node 8.x
inputs:
versionSpec: 8.x
trigger:
- master
- release/*
phases:
- phase: "Build"
queue:
name: Hosted VS2017
steps:
- task: NodeTool@0
displayName: Use Node >=9.11.1
inputs:
versionSpec: '>=9.11.1'
checkLatest: true
- task: BatchScript@1
displayName: Build
inputs:
filename: './build.cmd'
arguments: '/p:SkipTests=true'
modifyEnvironment: false
- task: PowerShell@1
displayName: Publish Samples
inputs:
scriptName: './build/publish-apps.ps1'
arguments: '-RootDirectory $(Build.SourcesDirectory) -CommitHash $(Build.SourceVersion) -BranchName $(Build.SourceBranch) -BuildNumber $(Build.BuildNumber)'
- task: AzureRmWebAppDeployment@3
displayName: Deploy FunctionalTests
inputs:
azureSubscription: SignalR Functional Testing Azure Connection
WebAppName: '$(Parameters.FunctionalTestAppName)'
Package: '$(Build.SourcesDirectory)/artifacts/apps/FunctionalTests'
TakeAppOfflineFlag: true
continueOnError: true
- task: AzureRmWebAppDeployment@3
displayName: Deploy SignalRSamples