aboutsummaryrefslogtreecommitdiff
path: root/travis.sh
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2015-08-04 10:01:40 +0100
committerJon Skeet <jonskeet@google.com>2015-08-05 07:09:40 +0100
commitb6defa7c115a19d3671b2a6c5ebab2a471d273ea (patch)
tree5744f5a9748aefaf50eb4dda45a5d874a5bd4a69 /travis.sh
parent044c36ebef20f66a9a8b0548f52b81692d779ac7 (diff)
downloadprotobuf-b6defa7c115a19d3671b2a6c5ebab2a471d273ea.tar.gz
protobuf-b6defa7c115a19d3671b2a6c5ebab2a471d273ea.tar.bz2
protobuf-b6defa7c115a19d3671b2a6c5ebab2a471d273ea.zip
Added C# conformance tests.
The tests are run from Travis in the same way as on other platforms. Currently some expected failures - but only expected in that they're what we got to start with. Will try to fix them in other pull requests.
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/travis.sh b/travis.sh
index 9514ec2b..07004571 100755
--- a/travis.sh
+++ b/travis.sh
@@ -29,6 +29,11 @@ build_cpp_distcheck() {
}
build_csharp() {
+ # Just for the conformance tests. We don't currently
+ # need to really build protoc, but it's simplest to keep with the
+ # conventions of the other builds.
+ internal_build_cpp
+
# Install latest version of Mono
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
@@ -39,6 +44,7 @@ build_csharp() {
(cd csharp/src; mono ../../nuget.exe restore)
csharp/buildall.sh
+ cd conformance && make test_csharp && cd ..
}
use_java() {