Commit 48d8d7a0 authored by thePanz's avatar thePanz

Cache solr downloads

parent db4fd5d8
...@@ -19,11 +19,13 @@ env: ...@@ -19,11 +19,13 @@ env:
cache: cache:
directories: directories:
- $HOME/.composer/cache - $HOME/.composer/cache
- solr_downloads
before_install: before_install:
- composer global require "hirak/prestissimo:^0.3" - composer global require "hirak/prestissimo:^0.3"
- curl -O http://archive.apache.org/dist/lucene/solr/${SOLR_VERSION}/solr-${SOLR_VERSION}.tgz - mkdir -p solr_downloads && ls solr_downloads/
- tar -xzf solr-${SOLR_VERSION}.tgz - wget -N --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: before_script:
# - pecl install pecl_http # - 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