mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
* Remove XUnit warnings which clogged up output * Use default namespace to fix loc lookup errors - Fixed errors due to localization change - Also removed internals visible attribute that could cause subtle issues where the hosting service doesn't work for other apps if things change * Add CI build and test for new projects * Up version number so we can pick up fix in nuget packages
42 lines
858 B
YAML
42 lines
858 B
YAML
sudo: required
|
|
dist: trusty
|
|
|
|
os:
|
|
- linux
|
|
# TODO https://github.com/Microsoft/vscode-mssql/issues/1004 reenable OSX once travis issue is fixed
|
|
# - osx
|
|
|
|
mono: none
|
|
dotnet: 2.1.300
|
|
|
|
# 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.1;
|
|
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
|
|
|