Compare commits
2 commits
cafd028008
...
89831a257a
| Author | SHA1 | Date | |
|---|---|---|---|
| 89831a257a | |||
| b434df3968 |
1 changed files with 10 additions and 1 deletions
11
.drone.yml
11
.drone.yml
|
|
@ -14,12 +14,19 @@ trigger:
|
|||
- push
|
||||
|
||||
steps:
|
||||
- name: compute cache key
|
||||
image: docker.io/library/elixir:1.18.3-otp-27
|
||||
commands:
|
||||
- echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME/" >> .cache_key
|
||||
|
||||
- name: restore-cache
|
||||
image: drillster/drone-volume-cache
|
||||
settings:
|
||||
restore: true
|
||||
mount:
|
||||
- ./deps
|
||||
- ./_build
|
||||
ttl: 30
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
|
|
@ -71,7 +78,9 @@ steps:
|
|||
# Fetch dependencies
|
||||
- mix deps.get
|
||||
# Run tests
|
||||
- mix test
|
||||
# - mix test
|
||||
# TODO: remove this, added only for testing
|
||||
- mix compile
|
||||
|
||||
- name: rebuild-cache
|
||||
image: drillster/drone-volume-cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue