Chris Fallin | 20e94b2 | 2015-05-13 16:43:48 -0700 | [diff] [blame] | 1 | sudo: required |
Thomas Van Lenten | c4d3638 | 2015-06-09 13:35:41 -0400 | [diff] [blame] | 2 | # 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 Fallin | 20e94b2 | 2015-05-13 16:43:48 -0700 | [diff] [blame] | 6 | language: cpp |
Tamir Duberstein | ed71504 | 2015-03-18 00:43:34 -0700 | [diff] [blame] | 7 | os: |
| 8 | - linux |
| 9 | - osx |
Tamir Duberstein | 9a2f1f6 | 2015-03-31 11:25:39 -0700 | [diff] [blame] | 10 | script: |
Chris Fallin | 20e94b2 | 2015-05-13 16:43:48 -0700 | [diff] [blame] | 11 | - ./travis.sh $CONFIG |
| 12 | env: |
| 13 | - CONFIG=cpp |
| 14 | - CONFIG=cpp_distcheck |
Jan Tattermusch | ddb36ef | 2015-05-18 17:34:02 -0700 | [diff] [blame] | 15 | - CONFIG=csharp |
Chris Fallin | 20e94b2 | 2015-05-13 16:43:48 -0700 | [diff] [blame] | 16 | - 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 Xiao | 9cbdaed | 2015-06-08 13:00:45 -0700 | [diff] [blame] | 29 | matrix: |
Thomas Van Lenten | c4d3638 | 2015-06-09 13:35:41 -0400 | [diff] [blame] | 30 | 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 Xiao | 9cbdaed | 2015-06-08 13:00:45 -0700 | [diff] [blame] | 47 | - os: osx |
| 48 | env: CONFIG=csharp |
Thomas Van Lenten | c4d3638 | 2015-06-09 13:35:41 -0400 | [diff] [blame] | 49 | allow_failures: |
| 50 | # These currently do not work on OS X but are being worked on by @haberman. |
Feng Xiao | 9cbdaed | 2015-06-08 13:00:45 -0700 | [diff] [blame] | 51 | - os: osx |
| 52 | env: CONFIG=ruby22 |
| 53 | - os: osx |
| 54 | env: CONFIG=jruby |
Feng Xiao | 0c7f624 | 2014-12-12 17:22:35 -0800 | [diff] [blame] | 55 | notifications: |
| 56 | email: false |