Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
ddb36efe
Commit
ddb36efe
authored
May 19, 2015
by
Jan Tattermusch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
csharp travis integration
parent
a8b38c59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
.travis.yml
.travis.yml
+1
-0
travis.sh
travis.sh
+14
-0
No files found.
.travis.yml
View file @
ddb36efe
...
...
@@ -8,6 +8,7 @@ script:
env
:
-
CONFIG=cpp
-
CONFIG=cpp_distcheck
-
CONFIG=csharp
-
CONFIG=java_jdk6
-
CONFIG=java_jdk7
-
CONFIG=java_oracle7
...
...
travis.sh
View file @
ddb36efe
...
...
@@ -14,6 +14,19 @@ build_cpp_distcheck() {
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
()
{
if
[
`
uname
`
!=
"Linux"
]
;
then
# It's nontrivial to programmatically install a new JDK from the command
...
...
@@ -135,6 +148,7 @@ build_jruby() {
if
[
"$#"
-ne
1
]
;
then
echo
"
Usage:
$0
{ cpp |
csharp |
java_jdk6 |
java_jdk7 |
java_oracle7 |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment