Apache DataFusion SQL Query Engine
ARROW-3268: [CI] Reduce conda times on AppVeyor [skip travis]
Antoine Pitrou3a85adb04c48
diff --git a/ci/appveyor-cpp-setup.bat b/ci/appveyor-cpp-setup.batindex 2d09948e78..d1f0d4ec60 100644--- a/ci/appveyor-cpp-setup.bat+++ b/ci/appveyor-cpp-setup.bat@@ -26,8 +26,6 @@ conda config --set show_channel_urls True@rem Help with SSL timeouts to S3conda config --set remote_connect_timeout_secs 12-conda config --add channels https://repo.continuum.io/pkgs/free-conda config --add channels conda-forgeconda info -aif "%GENERATOR%"=="Ninja" set need_vcvarsall=1@@ -41,13 +39,13 @@ if defined need_vcvarsall ())-if "%GENERATOR%"=="Ninja" conda install -y -q -c conda-forge ninja+if "%GENERATOR%"=="Ninja" conda install -y -q ninjaif "%USE_CLCACHE%" == "true" (@rem Use clcache for faster buildspip install -q git+https://github.com/frerich/clcache.git- @rem Limit cache size to 150 MB- clcache -M 150000000+ @rem Limit cache size to 250 MB+ clcache -M 250000000clcache -cclcache -sset CLCACHE_SERVER=1diff --git a/ci/cpp-python-msvc-build.bat b/ci/cpp-python-msvc-build.batindex 522843dccb..9ffb4f129d 100644--- a/ci/cpp-python-msvc-build.bat+++ b/ci/cpp-python-msvc-build.bat@@ -29,7 +29,7 @@ if "%JOB%" == "Static_Crt_Build" (.. || exit /Bcmake --build . --config Debug || exit /B- ctest -VV || exit /B+ ctest --output-on-failure -j2 || exit /Bpopdmkdir cpp\build-release@@ -43,7 +43,7 @@ if "%JOB%" == "Static_Crt_Build" (.. || exit /Bcmake --build . --config Release || exit /B- ctest -VV || exit /B+ ctest --output-on-failure -j2 || exit /Bpopd@rem Finish Static_Crt_Build build successfully@@ -61,27 +61,27 @@ if "%JOB%" == "Build_Debug" (.. || exit /Bcmake --build . --config Debug || exit /B- ctest -VV || exit /B+ ctest --output-on-failure -j2 || exit /Bpopd@rem Finish Debug build successfullyexit /B 0)-conda create -n arrow -q -y -c conda-forge ^+conda create -n arrow -q -y ^python=%PYTHON% ^six pytest setuptools numpy pandas cython ^thrift-cpp=0.11.0 boost-cppcall activate arrow-@rem Use Boost from conda-forge+@rem Use Boost from Anacondaset BOOST_ROOT=%CONDA_PREFIX%\Libraryset BOOST_LIBRARYDIR=%CONDA_PREFIX%\Library\libif "%JOB%" == "Toolchain" (@rem Install pre-built "toolchain" packages for faster builds- conda install -q -y -c conda-forge ^+ conda install -q -y ^brotli ^cmake ^flatbuffers ^@@ -121,7 +121,7 @@ cmake --build . --target install --config %CONFIGURATION% || exit /Bset OLD_PYTHONHOME=%PYTHONHOME%set PYTHONHOME=%CONDA_PREFIX%-ctest -VV || exit /B+ctest --output-on-failure -j2 || exit /Bset PYTHONHOME=%OLD_PYTHONHOME%popd