Skip to content

Commit cf68531

Browse files
authored
Merge pull request #3891 from thomasvl/travis_cleanups
Travis cleanups
2 parents 7417755 + a839c67 commit cf68531

File tree

1 file changed

+8
-39
lines changed

1 file changed

+8
-39
lines changed

.travis.yml

+8-39
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
11
sudo: required
22
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.
76
language: cpp
8-
os:
9-
- osx
10-
# The Objective C build needs Xcode 7.0 or later.
7+
os: osx
118
osx_image: xcode8.3
129
script:
1310
- ./tests.sh $CONFIG
1411
env:
1512
- CONFIG=cpp
1613
- 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.
2218
- CONFIG=javascript
2319
# iOS build log was starting to choke travis UI, so split to cover the
2420
# Xcode Debug and Release Configurations independently.
@@ -28,27 +24,9 @@ env:
2824
- CONFIG=objectivec_cocoapods_integration
2925
- CONFIG=python
3026
- CONFIG=python_cpp
31-
- CONFIG=ruby21
32-
- CONFIG=ruby22
33-
- CONFIG=jruby
3427
- CONFIG=php5.6_mac
3528
- CONFIG=php7.0_mac
3629
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
5230
include:
5331
# The dotnet environment requires Ubuntu 14.04 or 16.04. This
5432
# configuration is effectively an "extra" one, outside the
@@ -72,15 +50,6 @@ matrix:
7250
- os: linux
7351
env: CONFIG=python_compatibility
7452
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
8453
# Mark the iOS test as flakey as xcodebuild some times fails to start the
8554
# iOS Simulator.
8655
- os: osx

0 commit comments

Comments
 (0)