Skip to content

Commit

Permalink
adding csharp tests to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Apr 24, 2015
1 parent 9a7d30c commit e79e2f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@ language: cpp
before_install:
- sudo add-apt-repository ppa:yjwong/gflags -y
- sudo add-apt-repository ppa:h-rayflood/llvm -y
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb http:https://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
- echo "deb http:https://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
- sudo apt-get update -qq
- sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv clang-3.5
- sudo pip install cpp-coveralls mako simplejson
- sudo apt-get install -qq mono-devel nunit
- wget www.nuget.org/NuGet.exe -O nuget.exe
env:
global:
- RUBY_VERSION=2.1
- COVERALLS_PARALLEL=true
- NUGET="mono nuget.exe"
matrix:
- CONFIG=opt TEST=sanity
- CONFIG=dbg TEST=c
Expand All @@ -18,6 +24,7 @@ env:
- CONFIG=opt TEST=node
- CONFIG=opt TEST=ruby
- CONFIG=opt TEST=python
- CONFIG=opt TEST=csharp
- CONFIG=gcov TEST=c
- CONFIG=gcov TEST=c++
- USE_GCC=4.4 CONFIG=opt TEST=build
Expand Down
5 changes: 5 additions & 0 deletions tools/run_tests/build_csharp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,9 @@ cd $(dirname $0)/../..

root=`pwd`

if [ -n "$NUGET" ]
then
$NUGET restore src/csharp/Grpc.sln
fi

xbuild /p:Configuration=$MSBUILD_CONFIG src/csharp/Grpc.sln

0 comments on commit e79e2f5

Please sign in to comment.