mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
* Update form .NET Core 2.2 to .NET Core 3.1 - Global variable for projects - Change TFMs from netcoreapp2.2 to netcoreapp3.1 - Update global.json - Update build.json - Remove direct framework cake TestCore task - Update travis dotnet version - Update azure pipline file - Update vscode launch.json * Add Central Package Management * Fix xUnit Breaking Change for MemberData type * Fix xUnit breaking change for duplicate test method name * Fix Rang/Index type conflict with System.Rang/Index * Update vscode tasks.json * Change serviceHostExecutable path in ServiceTestDriver.cs * Downgrade SDK version (https://github.com/appveyor/ci/issues/3440) - Appveyor hasn't installed latest SDK therefore I downgrade it until they install it. * Dump Microsoft.SqlServer.DACFx
41 lines
890 B
YAML
41 lines
890 B
YAML
sudo: required
|
|
dist: xenial
|
|
|
|
os:
|
|
- linux
|
|
# TODO https://github.com/Microsoft/vscode-mssql/issues/1004 reenable OSX once travis issue is fixed
|
|
# - osx
|
|
|
|
mono: none
|
|
dotnet: 3.1
|
|
# was dotnet: 2.2.100-preview3-009430
|
|
|
|
# safelist
|
|
branches:
|
|
only:
|
|
- master
|
|
- dev
|
|
|
|
language: csharp
|
|
solution: sqltoolsservice.sln
|
|
|
|
env:
|
|
# Since we are building from root, current directory is the project path
|
|
- ProjectPath=$TRAVIS_BUILD_DIR
|
|
- HOMEBREW_NO_AUTO_UPDATE=1
|
|
before_install:
|
|
- if [ $TRAVIS_OS_NAME == "linux" ]; then
|
|
sudo apt-get update;
|
|
sudo apt-get install dotnet-sdk-2.2;
|
|
else
|
|
brew update;
|
|
fi
|
|
|
|
install:
|
|
- dotnet restore
|
|
|
|
script:
|
|
- dotnet build src/Microsoft.SqlTools.ServiceLayer
|
|
- dotnet test test/Microsoft.SqlTools.ServiceLayer.UnitTests
|
|
- dotnet build src/Microsoft.SqlTools.CoreServices
|
|
- dotnet test test/Microsoft.SqlTools.Hosting.UnitTests |