forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.35 KB
/
.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
32
33
34
35
36
sudo: required
services:
- docker
language: ruby
cache:
directories:
- vendor/bundle
- ~/.gradle/
rvm:
- jruby-9.1.10.0
jdk:
- oraclejdk8
env:
- INTEGRATION=false SPEC_OPTS="--order rand --format documentation" JRUBY_OPTS='-Xcompile.invokedynamic=false'
- INTEGRATION=true SPEC_OPTS="--order rand --format documentation" JRUBY_OPTS='-Xcompile.invokedynamic=false'
- INTEGRATION=false FEATURE_FLAG=persistent_queues SPEC_OPTS="--order rand --format documentation" JRUBY_OPTS='-Xcompile.invokedynamic=false'
- INTEGRATION=true FEATURE_FLAG=persistent_queues SPEC_OPTS="--order rand --format documentation" JRUBY_OPTS='-Xcompile.invokedynamic=false'
before_install:
- sudo apt-get remove -y docker-ce
- sudo apt-get install -y docker-ce
- sudo service docker stop
- sudo dockerd --disable-legacy-registry &>/dev/null &
- export JRUBY_OPTS=""
# Force bundler 1.12.5 because version 1.13 has issues, see https://github.com/fastlane/fastlane/issues/6065#issuecomment-246044617
- yes | gem uninstall -q -i /home/travis/.rvm/gems/jruby-9.1.10.0@global bundler
- gem install bundler -v 1.12.5 --no-rdoc --no-ri --no-document --quiet
install:
- rake test:install-core
script:
- |+
if [ "$INTEGRATION" == "true" ]; then
ci/travis_integration_install.sh
ci/travis_integration_run.sh;
else
rake test:core
fi