Commit e718d708 authored by Ema Panz's avatar Ema Panz Committed by Markus Kalkbrenner

Cache solr downloads (#570)

* Cache solr downloads

* Try to not hit apache.org for cache validation
parent 9ee17088
......@@ -17,11 +17,13 @@ env:
cache:
directories:
- $HOME/.composer/cache
- solr_downloads
before_install:
- composer global require "hirak/prestissimo:^0.3"
- curl -O http://archive.apache.org/dist/lucene/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz
- tar -xzf solr-${SOLR_VERSION}.tgz
- mkdir -p solr_downloads && ls solr_downloads/
- wget -nc --continue -nv --tries=3 --directory-prefix=solr_downloads "http://archive.apache.org/dist/lucene/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz"
- tar -xzf solr_downloads/solr-${SOLR_VERSION}.tgz
before_script:
# - pecl install pecl_http
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment