Trying to use APT cache
This commit is contained in:
parent
32b27276cf
commit
a033717421
1 changed files with 6 additions and 2 deletions
|
|
@ -15,11 +15,10 @@ build:
|
||||||
key: build-cache
|
key: build-cache
|
||||||
paths:
|
paths:
|
||||||
- vendor/
|
- vendor/
|
||||||
- /var/cache/apt
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- apt-get update -qy
|
- apt-get update -qy
|
||||||
- apt-get install -y imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev postgresql
|
- apt-get -o dir::cache::archives="vendor/apt" install -yqq imagemagick git build-essential zlib1g-dev libbz2-dev libpq-dev postgresql
|
||||||
#- gem install bundler --no-ri --no-rdoc
|
#- gem install bundler --no-ri --no-rdoc
|
||||||
- RAILS_ENV=test bundle install --path vendor
|
- RAILS_ENV=test bundle install --path vendor
|
||||||
|
|
||||||
|
|
@ -30,6 +29,11 @@ test:
|
||||||
- ruby
|
- ruby
|
||||||
- stretch
|
- stretch
|
||||||
|
|
||||||
|
cache:
|
||||||
|
key: build-cache
|
||||||
|
paths:
|
||||||
|
- vendor/
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
POSTGRES_DB: debshots_test
|
POSTGRES_DB: debshots_test
|
||||||
POSTGRES_USER: debshots
|
POSTGRES_USER: debshots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue