Browse Source

Fix cache usage

pull/21/head
Dashie der otter 8 months ago
parent
commit
763b27a3ae
Signed by: Dashie <dashie@sigpipe.me> GPG Key ID: C2D57B325840B755
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      .drone.yml

+ 6
- 6
.drone.yml View File

@@ -18,9 +18,9 @@ pipeline:
commands:
- apk add -U postgresql-dev git libffi libffi-dev cmake gcc g++ make pkgconfig jpeg-dev zlib-dev python-dev
- pip install --upgrade pip setuptools
- pip install --cache-dir=/cache flake8
- pip install --cache-dir=/cache black
- pip install --cache-dir=/cache -r requirements.txt
- pip install --cache-dir=.cache flake8
- pip install --cache-dir=.cache black
- pip install --cache-dir=.cache -r requirements.txt
- python setup.py install
- black --check .
- flake8 .
@@ -30,9 +30,9 @@ pipeline:
commands:
- apk add -U postgresql-dev git libffi libffi-dev cmake gcc g++ make pkgconfig postgresql-client jpeg-dev zlib-dev python-dev
- pip install --upgrade pip setuptools
- pip install --cache-dir=/cache flake8
- pip install --cache-dir=/cache black
- pip install --cache-dir=/cache -r requirements.txt
- pip install --cache-dir=.cache flake8
- pip install --cache-dir=.cache black
- pip install --cache-dir=.cache -r requirements.txt
- python setup.py install
- psql -U postgres -h database -w -c 'CREATE DATABASE camgear'
- cp config.py.sample config.py

Loading…
Cancel
Save