arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject arrow git commit: ARROW-646: [Python] Conda s3 robustness, set CONDA_PKGS_DIR env variable and add Travis CI caching
Date Wed, 12 Apr 2017 19:51:52 GMT
Repository: arrow
Updated Branches:
  refs/heads/master 9d532c49d -> 3d9bfc2ae


ARROW-646: [Python] Conda s3 robustness, set CONDA_PKGS_DIR env variable and add Travis CI
caching

Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes #532 from wesm/ARROW-646 and squashes the following commits:

2f27123 [Wes McKinney] Fix env variable name
7ead593 [Wes McKinney] Set CONDA_PKGS_DIR env variable and add to Travis CI cache. Change
some other conda settings


Project: http://git-wip-us.apache.org/repos/asf/arrow/repo
Commit: http://git-wip-us.apache.org/repos/asf/arrow/commit/3d9bfc2a
Tree: http://git-wip-us.apache.org/repos/asf/arrow/tree/3d9bfc2a
Diff: http://git-wip-us.apache.org/repos/asf/arrow/diff/3d9bfc2a

Branch: refs/heads/master
Commit: 3d9bfc2aeb376c994ca9b257cb9156d08b870455
Parents: 9d532c4
Author: Wes McKinney <wes.mckinney@twosigma.com>
Authored: Wed Apr 12 15:51:47 2017 -0400
Committer: Wes McKinney <wes.mckinney@twosigma.com>
Committed: Wed Apr 12 15:51:47 2017 -0400

----------------------------------------------------------------------
 .travis.yml                | 6 ++++++
 ci/travis_install_conda.sh | 7 +++++++
 2 files changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/arrow/blob/3d9bfc2a/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index f74a3b2..4a49c71 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,12 @@ addons:
     - autoconf-archive
     - libgirepository1.0-dev
 
+cache:
+  ccache: true
+  directories:
+    - $HOME/.conda_packages
+    - $HOME/.ccache
+
 matrix:
   fast_finish: true
   allow_failures:

http://git-wip-us.apache.org/repos/asf/arrow/blob/3d9bfc2a/ci/travis_install_conda.sh
----------------------------------------------------------------------
diff --git a/ci/travis_install_conda.sh b/ci/travis_install_conda.sh
index e064317..c036e92 100644
--- a/ci/travis_install_conda.sh
+++ b/ci/travis_install_conda.sh
@@ -23,13 +23,20 @@ fi
 wget -O miniconda.sh $MINICONDA_URL
 
 export MINICONDA=$HOME/miniconda
+export CONDA_PKGS_DIRS=$HOME/.conda_packages
+mkdir -p $CONDA_PKGS_DIRS
 
 bash miniconda.sh -b -p $MINICONDA
 export PATH="$MINICONDA/bin:$PATH"
 conda update -y -q conda
+conda config --set auto_update_conda false
 conda info -a
 
 conda config --set show_channel_urls True
+
+# Help with SSL timeouts to S3
+conda config --set remote_connect_timeout_secs 12
+
 conda config --add channels https://repo.continuum.io/pkgs/free
 conda config --add channels conda-forge
 conda info -a


Mime
View raw message