File tree 2 files changed +31
-7
lines changed
2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
+ # Note: travis currently does not support listing more than one language so
3
+ # this cheats and claims to only be cpp. If they add multiple language
4
+ # support, this should probably get updated to install steps and/or
5
+ # rvm/gemfile/jdk/etc. entries rather than manually doing the work.
2
6
language : cpp
3
7
os :
4
8
- linux
23
27
- CONFIG=ruby22
24
28
- CONFIG=jruby
25
29
matrix :
26
- allow_failures :
30
+ exclude :
31
+ # It's nontrivial to programmatically install a new JDK from the command
32
+ # line on OS X, so we rely on testing on Linux for Java code.
33
+ - os : osx
34
+ env : CONFIG=java_jdk6
35
+ - os : osx
36
+ env : CONFIG=java_jdk7
37
+ - os : osx
38
+ env : CONFIG=java_oracle7
39
+ - os : osx
40
+ env : CONFIG=javanano_jdk6
41
+ - os : osx
42
+ env : CONFIG=javanano_jdk7
43
+ - os : osx
44
+ env : CONFIG=javanano_oracle7
45
+ # Requires installing mono, currently travis.sh is doing that with apt-get
46
+ # which doesn't work on OS X.
27
47
- os : osx
28
48
env : CONFIG=csharp
49
+ allow_failures :
50
+ # These currently do not work on OS X but are being worked on by @haberman.
29
51
- os : osx
30
52
env : CONFIG=ruby22
31
53
- os : osx
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
+ # Note: travis currently does not support testing more than one language so the
4
+ # .travis.yml cheats and claims to only be cpp. If they add multiple language
5
+ # support, this should probably get updated to install steps and/or
6
+ # rvm/gemfile/jdk/etc. entries rather than manually doing the work.
7
+
8
+ # .travis.yml uses matrix.exclude to block the cases where app-get can't be
9
+ # use to install things.
10
+
3
11
build_cpp () {
4
12
./autogen.sh
5
13
./configure
@@ -28,12 +36,6 @@ build_csharp() {
28
36
}
29
37
30
38
use_java () {
31
- if [ ` uname` != " Linux" ]; then
32
- # It's nontrivial to programmatically install a new JDK from the command
33
- # line on OS X, so we rely on testing on Linux for Java code.
34
- echo " Java not tested on OS X."
35
- exit 0 # success
36
- fi
37
39
version=$1
38
40
case " $version " in
39
41
jdk6)
You can’t perform that action at this time.
0 commit comments