Browse Source

Update .drone.yml

Fix python cache usage
pull/96/head
Dashie der otter 4 months ago
parent
commit
297a8bd09a
No account linked to committer's email address
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      .drone.yml

+ 8
- 8
.drone.yml View File

@@ -18,10 +18,10 @@ pipeline:
18 18
     commands:
19 19
       - apk -U add gcc g++ make pkgconfig git postgresql-dev libffi libffi-dev python3-dev
20 20
       - pip install --upgrade pip setuptools
21
-      - pip install --cache-dir=/cache flake8
22
-      - pip install --cache-dir=/cache black
23
-      - pip install --cache-dir=/cache cython
24
-      - pip install --cache-dir=/cache -r requirements.txt
21
+      - pip install --cache-dir=.cache flake8
22
+      - pip install --cache-dir=.cache black
23
+      - pip install --cache-dir=.cache cython
24
+      - pip install --cache-dir=.cache -r requirements.txt
25 25
       - python setup.py install
26 26
       - black --check .
27 27
       - flake8 .
@@ -33,10 +33,10 @@ pipeline:
33 33
     commands:
34 34
       - apk -U add gcc g++ make pkgconfig git postgresql-dev libffi libffi-dev python3-dev postgresql-client
35 35
       - pip install --upgrade pip setuptools
36
-      - pip install --cache-dir=/cache flake8
37
-      - pip install --cache-dir=/cache black
38
-      - pip install --cache-dir=/cache cython
39
-      - pip install --cache-dir=/cache -r requirements.txt
36
+      - pip install --cache-dir=.cache flake8
37
+      - pip install --cache-dir=.cache black
38
+      - pip install --cache-dir=.cache cython
39
+      - pip install --cache-dir=.cache -r requirements.txt
40 40
       - python setup.py install
41 41
       - psql -U postgres -h database -w -c 'CREATE DATABASE ahrl'
42 42
       - cp config.py.sample config.py

Loading…
Cancel
Save