Everything seems to work. Re-enabling other CI steps.

pull/14/head
Sander Vocke 5 years ago
parent 6bdaa5c6fd
commit c6eb489a49
  1. 46
      .drone.yml

@ -12,32 +12,32 @@ steps:
- npm install - npm install
- cd /drone/src/server && npm install - cd /drone/src/server && npm install
#- name: back-end test (SQLite3) - name: back-end test (SQLite3)
# image: sandervocke/postgres_node:12 image: sandervocke/postgres_node:12
# commands: commands:
# - cd /drone/src/server && ./test/test.sh --sqlite - cd /drone/src/server && ./test/test.sh --sqlite
- name: back-end test (PostgreSQL) - name: back-end test (PostgreSQL)
image: sandervocke/postgres_node:12 image: sandervocke/postgres_node:12
commands: commands:
- cd /drone/src/server && ./test/test.sh --postgres --start-postgres-testcontainer - cd /drone/src/server && ./test/test.sh --postgres --start-postgres-testcontainer
# --- ---
# kind: pipeline kind: pipeline
# type: kubernetes type: kubernetes
# name: front-end name: front-end
# workspace: workspace:
# path: /drone/src path: /drone/src
# steps: steps:
# - name: install dependencies - name: install dependencies
# image: node image: node
# commands: commands:
# - cd /drone/src && npm install - cd /drone/src && npm install
# - cd /drone/src/client && npm install - cd /drone/src/client && npm install
# - name: front-end compile - name: front-end compile
# image: node image: node
# commands: commands:
# - cd /drone/src/client && ./node_modules/.bin/tsc; cd .. - cd /drone/src/client && ./node_modules/.bin/tsc; cd ..

Loading…
Cancel
Save