blob: 7be0d18e29cbac42250078e3fa8d166d8ab3d20c [file] [log] [blame]
Chris Fallin20e94b22015-05-13 16:43:48 -07001sudo: required
Thomas Van Lentenc4d36382015-06-09 13:35:41 -04002# 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.
Chris Fallin20e94b22015-05-13 16:43:48 -07006language: cpp
Tamir Dubersteined715042015-03-18 00:43:34 -07007os:
8 - linux
9 - osx
Thomas Van Lenten9642b822015-06-10 17:21:23 -040010# The Objective C build needs Xcode 6.4 or later.
11osx_image: xcode7.1
Tamir Duberstein9a2f1f62015-03-31 11:25:39 -070012script:
Chris Fallin20e94b22015-05-13 16:43:48 -070013 - ./travis.sh $CONFIG
14env:
15 - CONFIG=cpp
16 - CONFIG=cpp_distcheck
Jan Tattermuschddb36ef2015-05-18 17:34:02 -070017 - CONFIG=csharp
Chris Fallin20e94b22015-05-13 16:43:48 -070018 - CONFIG=java_jdk6
19 - CONFIG=java_jdk7
20 - CONFIG=java_oracle7
21 - CONFIG=javanano_jdk6
22 - CONFIG=javanano_jdk7
23 - CONFIG=javanano_oracle7
24 - CONFIG=python
25 - CONFIG=python_cpp
26 - CONFIG=ruby19
27 - CONFIG=ruby20
28 - CONFIG=ruby21
29 - CONFIG=ruby22
30 - CONFIG=jruby
Feng Xiao9cbdaed2015-06-08 13:00:45 -070031matrix:
Thomas Van Lentenc4d36382015-06-09 13:35:41 -040032 exclude:
33 # It's nontrivial to programmatically install a new JDK from the command
34 # line on OS X, so we rely on testing on Linux for Java code.
35 - os: osx
36 env: CONFIG=java_jdk6
37 - os: osx
38 env: CONFIG=java_jdk7
39 - os: osx
40 env: CONFIG=java_oracle7
41 - os: osx
42 env: CONFIG=javanano_jdk6
43 - os: osx
44 env: CONFIG=javanano_jdk7
45 - os: osx
46 env: CONFIG=javanano_oracle7
47 # Requires installing mono, currently travis.sh is doing that with apt-get
48 # which doesn't work on OS X.
Feng Xiao9cbdaed2015-06-08 13:00:45 -070049 - os: osx
50 env: CONFIG=csharp
Thomas Van Lenten9642b822015-06-10 17:21:23 -040051 # Add into the matrix OS X tests of Objective C (needs Xcode, so it won't
52 # work on other platforms). These are split so it doesn't take as long to run.
53 include:
54 - os: osx
55 env: CONFIG=objectivec_ios
56 - os: osx
57 env: CONFIG=objectivec_osx
Thomas Van Lentenc4d36382015-06-09 13:35:41 -040058 allow_failures:
59 # These currently do not work on OS X but are being worked on by @haberman.
Feng Xiao9cbdaed2015-06-08 13:00:45 -070060 - os: osx
61 env: CONFIG=ruby22
62 - os: osx
63 env: CONFIG=jruby
Thomas Van Lenten9642b822015-06-10 17:21:23 -040064 # Travis seems be flaky in letting the iOS simulator launch, so keep that
65 # flake from failing builds by marking that build as an allowed failure.
66 - os: osx
67 env: CONFIG=objectivec_ios
Feng Xiao0c7f6242014-12-12 17:22:35 -080068notifications:
69 email: false