From c1c9dcc38bdb379e082c6971fc65d162f6cf8992 Mon Sep 17 00:00:00 2001 From: Oliver Marks Date: Wed, 24 Jan 2018 13:58:28 +0000 Subject: [PATCH] Add collect static and compile scss --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index 135dddd..437f438 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,6 +15,8 @@ pipeline: - cp -n env.example .env - mkdir -p ./cache/packages ./cache/pip - pip install --user --cache-dir ./cache/pip -r ./requirements/test.txt + - python manage.py compilescss + - python manage.py collectstatic --no-input - python manage.py test mhackspace --keepdb --verbosity 2 publish-test: @@ -48,3 +50,16 @@ pipeline: services: mailhog: image: mailhog/mailhog + + node: + image: node:alpine + commands: + - npm install package.json + + bucket: + image: minio/minio + environment: + - MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE + - MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY + commands: + - minio server /data