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
|
||||
paths:
|
||||
- vendor/
|
||||
- /var/cache/apt
|
||||
|
||||
script:
|
||||
- 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
|
||||
- RAILS_ENV=test bundle install --path vendor
|
||||
|
||||
|
|
@ -30,6 +29,11 @@ test:
|
|||
- ruby
|
||||
- stretch
|
||||
|
||||
cache:
|
||||
key: build-cache
|
||||
paths:
|
||||
- vendor/
|
||||
|
||||
variables:
|
||||
POSTGRES_DB: debshots_test
|
||||
POSTGRES_USER: debshots
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue