Commit ddb36efe authored by Jan Tattermusch's avatar Jan Tattermusch

csharp travis integration

parent a8b38c59
...@@ -8,6 +8,7 @@ script: ...@@ -8,6 +8,7 @@ script:
env: env:
- CONFIG=cpp - CONFIG=cpp
- CONFIG=cpp_distcheck - CONFIG=cpp_distcheck
- CONFIG=csharp
- CONFIG=java_jdk6 - CONFIG=java_jdk6
- CONFIG=java_jdk7 - CONFIG=java_jdk7
- CONFIG=java_oracle7 - CONFIG=java_oracle7
......
...@@ -14,6 +14,19 @@ build_cpp_distcheck() { ...@@ -14,6 +14,19 @@ build_cpp_distcheck() {
make distcheck -j2 make distcheck -j2
} }
build_csharp() {
# 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
echo "deb http://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 mono-devel referenceassemblies-pcl nunit
wget www.nuget.org/NuGet.exe -O nuget.exe
(cd csharp/src; mono ../../nuget.exe restore)
csharp/buildall.sh
}
use_java() { use_java() {
if [ `uname` != "Linux" ]; then if [ `uname` != "Linux" ]; then
# It's nontrivial to programmatically install a new JDK from the command # It's nontrivial to programmatically install a new JDK from the command
...@@ -135,6 +148,7 @@ build_jruby() { ...@@ -135,6 +148,7 @@ build_jruby() {
if [ "$#" -ne 1 ]; then if [ "$#" -ne 1 ]; then
echo " echo "
Usage: $0 { cpp | Usage: $0 { cpp |
csharp |
java_jdk6 | java_jdk6 |
java_jdk7 | java_jdk7 |
java_oracle7 | java_oracle7 |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment