mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
travis
This commit is contained in:
3 files changed
+11
-10
No files matched your search
@@ -110,6 +110,7 @@ matrix:
|
||||
- ARROW_TRAVIS_USE_SYSTEM_JAVA=1
|
||||
- ARROW_TRAVIS_USE_TOOLCHAIN=1
|
||||
- ARROW_TRAVIS_VALGRIND=1
|
||||
- ARROW_TRAVIS_S3=1
|
||||
# TODO(wesm): Run the benchmarks outside of Travis
|
||||
# - ARROW_TRAVIS_PYTHON_BENCHMARKS=1
|
||||
before_script:
|
||||
@@ -136,6 +137,7 @@ matrix:
|
||||
- ARROW_TRAVIS_PLASMA=1
|
||||
- ARROW_TRAVIS_FLIGHT=1
|
||||
- ARROW_TRAVIS_ORC=1
|
||||
- ARROW_TRAVIS_S3=1
|
||||
- ARROW_TRAVIS_PARQUET=1
|
||||
# TODO(ARROW-4763): llvm and llvmdev packages are in conflict:
|
||||
# https://github.com/conda-forge/llvmdev-feedstock/issues/60
|
||||
|
||||
@@ -135,7 +135,6 @@ cmake -GNinja \
|
||||
-DARROW_TENSORFLOW=on \
|
||||
-DARROW_PYTHON=on \
|
||||
-DARROW_ORC=on \
|
||||
-DARROW_S3=on \
|
||||
-DCMAKE_BUILD_TYPE=$ARROW_BUILD_TYPE \
|
||||
-DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
|
||||
$ARROW_CPP_DIR
|
||||
@@ -166,6 +165,8 @@ export PYARROW_WITH_PARQUET=1
|
||||
export PYARROW_WITH_PLASMA=1
|
||||
export PYARROW_WITH_ORC=1
|
||||
export PYARROW_WITH_S3=1
|
||||
if [ "$ARROW_TRAVIS_S3" == "1" ]; then
|
||||
export PYARROW_WITH_S3=1
|
||||
if [ "$ARROW_TRAVIS_FLIGHT" == "1" ]; then
|
||||
export PYARROW_WITH_FLIGHT=1
|
||||
fi
|
||||
|
||||
@@ -236,15 +236,13 @@ def minio_server():
|
||||
|
||||
minio_dir = os.environ.get('S3FS_DIR', '')
|
||||
minio_bin = os.path.join(minio_dir, 'minio') if minio_dir else 'minio'
|
||||
try:
|
||||
with tempfile.TemporaryDirectory() as tempdir:
|
||||
args = [minio_bin, '--compat', 'server', '--quiet', '--address',
|
||||
address, tempdir]
|
||||
with subprocess.Popen(args, env=env) as proc:
|
||||
yield address, access_key, secret_key
|
||||
proc.terminate()
|
||||
except FileNotFoundError:
|
||||
pytest.skip('Minio executable cannot be located')
|
||||
|
||||
with tempfile.TemporaryDirectory() as tempdir:
|
||||
args = [minio_bin, '--compat', 'server', '--quiet', '--address',
|
||||
address, tempdir]
|
||||
with subprocess.Popen(args, env=env) as proc:
|
||||
yield address, access_key, secret_key
|
||||
proc.terminate()
|
||||
|
||||
|
||||
@pytest.fixture(scope='module')
|
||||
|
||||
Reference in new issue
Block a user