mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-23 09:35:38 -05:00
* adding network file validator contract * updating to dotnet 5 * reverting change in pipeline * updating target framework to 5.0 * updating srgen and using target framework var * reverting srgen back to 3.1 * Adding dotnet 3.1 to build * Fixing task def * removing global json * updating other 3.1 refs to 5.0 * removing netcore folder from build.cake * Moving and renaming dotnet 3.1 task
42 lines
962 B
YAML
42 lines
962 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: 5.0
|
|
|
|
# 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-5.0;
|
|
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.Kusto.ServiceLayer
|
|
- dotnet test test/Microsoft.Kusto.ServiceLayer.UnitTests
|
|
- dotnet build src/Microsoft.SqlTools.CoreServices
|
|
- dotnet test test/Microsoft.SqlTools.Hosting.UnitTests |