blob: 7780174ce7ae17a6da3199442831720ab7080a12 [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
Tim Swast7e31c4d2015-11-20 15:32:53 -080018 - CONFIG=golang
Chris Fallin20e94b22015-05-13 16:43:48 -070019 - CONFIG=java_jdk6
20 - CONFIG=java_jdk7
21 - CONFIG=java_oracle7
22 - CONFIG=javanano_jdk6
23 - CONFIG=javanano_jdk7
24 - CONFIG=javanano_oracle7
25 - CONFIG=python
26 - CONFIG=python_cpp
27 - CONFIG=ruby19
28 - CONFIG=ruby20
29 - CONFIG=ruby21
30 - CONFIG=ruby22
31 - CONFIG=jruby
Feng Xiao9cbdaed2015-06-08 13:00:45 -070032matrix:
Thomas Van Lentenc4d36382015-06-09 13:35:41 -040033 exclude:
34 # It's nontrivial to programmatically install a new JDK from the command
35 # line on OS X, so we rely on testing on Linux for Java code.
36 - os: osx
37 env: CONFIG=java_jdk6
38 - os: osx
39 env: CONFIG=java_jdk7
40 - os: osx
41 env: CONFIG=java_oracle7
42 - os: osx
43 env: CONFIG=javanano_jdk6
44 - os: osx
45 env: CONFIG=javanano_jdk7
46 - os: osx
47 env: CONFIG=javanano_oracle7
48 # Requires installing mono, currently travis.sh is doing that with apt-get
49 # which doesn't work on OS X.
Feng Xiao9cbdaed2015-06-08 13:00:45 -070050 - os: osx
51 env: CONFIG=csharp
Tim Swast7e31c4d2015-11-20 15:32:53 -080052 # Requires installing golang, currently travis.sh is doing that with apt-get
53 # which doesn't work on OS X.
54 - os: osx
55 env: CONFIG=golang
Thomas Van Lenten9642b822015-06-10 17:21:23 -040056 # Add into the matrix OS X tests of Objective C (needs Xcode, so it won't
57 # work on other platforms). These are split so it doesn't take as long to run.
58 include:
59 - os: osx
60 env: CONFIG=objectivec_ios
61 - os: osx
62 env: CONFIG=objectivec_osx
Thomas Van Lentenc4d36382015-06-09 13:35:41 -040063 allow_failures:
64 # These currently do not work on OS X but are being worked on by @haberman.
Feng Xiao9cbdaed2015-06-08 13:00:45 -070065 - os: osx
66 env: CONFIG=ruby22
67 - os: osx
68 env: CONFIG=jruby
Thomas Van Lenten9642b822015-06-10 17:21:23 -040069 # Travis seems be flaky in letting the iOS simulator launch, so keep that
70 # flake from failing builds by marking that build as an allowed failure.
71 - os: osx
72 env: CONFIG=objectivec_ios
Feng Xiao0c7f6242014-12-12 17:22:35 -080073notifications:
74 email: false