Run integration tests separately

Fixes #6704
This commit is contained in:
Andrew Cholakian 2017-02-14 09:13:37 -06:00
parent 2a91e391d0
commit 2f6e1800ac

View file

@ -9,7 +9,9 @@ rvm:
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
@ -17,9 +19,13 @@ before_install:
- gem install bundler -v 1.12.5 --no-rdoc --no-ri --no-document --quiet
install:
- rake test:install-core
- ci/travis_integration_install.sh
before_script:
- echo "--order rand" > .rspec
script:
- rake test:core
- ci/travis_integration_run.sh
- |+
if [ "$INTEGRATION" == "true" ]; then
ci/travis_integration_install.sh
ci/travis_integration_run.sh;
else
rake test:core
fi