blob: 4edf3b30e1e8d51cf3814be75998507721a69f5f [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
Tamir Duberstein9a2f1f62015-03-31 11:25:39 -070010script:
Chris Fallin20e94b22015-05-13 16:43:48 -070011 - ./travis.sh $CONFIG
12env:
13 - CONFIG=cpp
14 - CONFIG=cpp_distcheck
Jan Tattermuschddb36ef2015-05-18 17:34:02 -070015 - CONFIG=csharp
Chris Fallin20e94b22015-05-13 16:43:48 -070016 - CONFIG=java_jdk6
17 - CONFIG=java_jdk7
18 - CONFIG=java_oracle7
19 - CONFIG=javanano_jdk6
20 - CONFIG=javanano_jdk7
21 - CONFIG=javanano_oracle7
22 - CONFIG=python
23 - CONFIG=python_cpp
24 - CONFIG=ruby19
25 - CONFIG=ruby20
26 - CONFIG=ruby21
27 - CONFIG=ruby22
28 - CONFIG=jruby
Feng Xiao9cbdaed2015-06-08 13:00:45 -070029matrix:
Thomas Van Lentenc4d36382015-06-09 13:35:41 -040030 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.
Feng Xiao9cbdaed2015-06-08 13:00:45 -070047 - os: osx
48 env: CONFIG=csharp
Thomas Van Lentenc4d36382015-06-09 13:35:41 -040049 allow_failures:
50 # These currently do not work on OS X but are being worked on by @haberman.
Feng Xiao9cbdaed2015-06-08 13:00:45 -070051 - os: osx
52 env: CONFIG=ruby22
53 - os: osx
54 env: CONFIG=jruby
Feng Xiao0c7f6242014-12-12 17:22:35 -080055notifications:
56 email: false