forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 851 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
sudo: false
language: ruby
cache:
directories:
- vendor/bundle
- ~/.gradle/
rvm:
- jruby-1.7.25
jdk:
- oraclejdk8
env:
- INTEGRATION=false
- INTEGRATION=true
- INTEGRATION=false FEATURE_FLAG=persistent_queues
- INTEGRATION=true FEATURE_FLAG=persistent_queues
before_install:
# Force bundler 1.12.5 because version 1.13 has issues, see https://github.com/fastlane/fastlane/issues/6065#issuecomment-246044617
- gem uninstall -i /home/travis/.rvm/gems/jruby-1.7.25@global bundler
- gem install bundler -v 1.12.5 --no-rdoc --no-ri --no-document --quiet
install:
- rake test:install-core
before_script:
- echo "--order rand" > .rspec
script:
- |+
if [ "$INTEGRATION" == "true" ]; then
ci/travis_integration_install.sh
ci/travis_integration_run.sh;
else
rake test:core
fi