mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
25 lines
No EOL
496 B
Bash
Executable file
25 lines
No EOL
496 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# This file sets up the environment for travis integration tests
|
|
|
|
|
|
if [[ "$INTEGRATION" != "true" ]]; then
|
|
exit
|
|
fi
|
|
|
|
echo "Setting up integration tests"
|
|
if [[ ! -d "build" ]]; then
|
|
mkdir build
|
|
fi
|
|
rm -rf build/*
|
|
echo "Building logstash tar file in build/"
|
|
rake artifact:tar
|
|
cd build
|
|
echo "Extracting logstash tar file in build/"
|
|
tar xf *.tar.gz
|
|
cd ../qa/integration
|
|
pwd
|
|
echo $BUNDLE_GEMFILE
|
|
# to install test dependencies
|
|
bundle install --gemfile="Gemfile" |