aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Chris Fallin <cfallin@google.com>2015-05-13 16:43:48 -0700
committerGravatar Chris Fallin <cfallin@google.com>2015-05-14 11:48:21 -0700
commit20e94b24ddada6c0bbb05b6e81ed1342ec4dc5b1 (patch)
tree19e6189220329ac9c71ddccdf14d291174620ccb /.travis.yml
parent2fe0483848b3e7da36a6f29099c71553a4af3adc (diff)
Refactor Travis tests: split configs and run in parallel.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml34
1 files changed, 19 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index 4f513653..bfe63d1d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,21 +1,25 @@
-sudo: false
-language: java
-jdk:
- - openjdk6
- - openjdk7
- - oraclejdk7
+sudo: required
+language: cpp
os:
- linux
- osx
script:
- - ./autogen.sh && ./configure && make -j2
- - cd java && mvn test && cd ..
- - cd javanano && mvn test && cd ..
- - cd python && python setup.py build && python setup.py test && cd ..
- - export LD_LIBRARY_PATH=../src/.libs
- - cd python && python setup.py build --cpp_implementation && python setup.py test --cpp_implementation && cd ..
- - cd ruby && sh travis-test.sh && cd ..
- - cd conformance && make test_java && cd ..
- - make distcheck -j2
+ - ./travis.sh $CONFIG
+env:
+ - CONFIG=cpp
+ - CONFIG=cpp_distcheck
+ - CONFIG=java_jdk6
+ - CONFIG=java_jdk7
+ - CONFIG=java_oracle7
+ - CONFIG=javanano_jdk6
+ - CONFIG=javanano_jdk7
+ - CONFIG=javanano_oracle7
+ - CONFIG=python
+ - CONFIG=python_cpp
+ - CONFIG=ruby19
+ - CONFIG=ruby20
+ - CONFIG=ruby21
+ - CONFIG=ruby22
+ - CONFIG=jruby
notifications:
email: false