1
1
sudo : required
2
2
dist : trusty
3
- # Note: travis currently does not support listing more than one language so
4
- # this 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.
3
+ # everything is driven by the test.sh, so the language doesn't really
4
+ # matter, it just controls the default install/script/etc. steps on
5
+ # travis.
7
6
language : cpp
8
- os :
9
- - osx
10
- # The Objective C build needs Xcode 7.0 or later.
7
+ os : osx
11
8
osx_image : xcode8.3
12
9
script :
13
10
- ./tests.sh $CONFIG
14
11
env :
15
12
- CONFIG=cpp
16
13
- CONFIG=cpp_distcheck
17
- - CONFIG=golang
18
- - CONFIG=java_jdk7
19
- - CONFIG=java_oracle7
20
- - CONFIG=javanano_jdk7
21
- - CONFIG=javanano_oracle7
14
+ # Testing go requires installing golang, currently travis.sh is doing that
15
+ # with apt-get which doesn't work on OS X.
16
+ # It's nontrivial to programmatically install a new JDK from the command
17
+ # line on OS X, so we rely on testing on Linux for Java code.
22
18
- CONFIG=javascript
23
19
# iOS build log was starting to choke travis UI, so split to cover the
24
20
# Xcode Debug and Release Configurations independently.
28
24
- CONFIG=objectivec_cocoapods_integration
29
25
- CONFIG=python
30
26
- CONFIG=python_cpp
31
- - CONFIG=ruby21
32
- - CONFIG=ruby22
33
- - CONFIG=jruby
34
27
- CONFIG=php5.6_mac
35
28
- CONFIG=php7.0_mac
36
29
matrix :
37
- exclude :
38
- # It's nontrivial to programmatically install a new JDK from the command
39
- # line on OS X, so we rely on testing on Linux for Java code.
40
- - os : osx
41
- env : CONFIG=java_jdk7
42
- - os : osx
43
- env : CONFIG=java_oracle7
44
- - os : osx
45
- env : CONFIG=javanano_jdk7
46
- - os : osx
47
- env : CONFIG=javanano_oracle7
48
- # Requires installing golang, currently travis.sh is doing that with apt-get
49
- # which doesn't work on OS X.
50
- - os : osx
51
- env : CONFIG=golang
52
30
include :
53
31
# The dotnet environment requires Ubuntu 14.04 or 16.04. This
54
32
# configuration is effectively an "extra" one, outside the
@@ -72,15 +50,6 @@ matrix:
72
50
- os : linux
73
51
env : CONFIG=python_compatibility
74
52
allow_failures :
75
- # These currently do not work on OS X but are being worked on by @haberman.
76
- - os : osx
77
- env : CONFIG=ruby22
78
- - os : osx
79
- env : CONFIG=jruby
80
- # https://github.com/google/protobuf/issues/1253 - Started failing when
81
- # we moved to an OS X image that is 10.11.
82
- - os : osx
83
- env : CONFIG=python_cpp
84
53
# Mark the iOS test as flakey as xcodebuild some times fails to start the
85
54
# iOS Simulator.
86
55
- os : osx
0 commit comments