vikunja-api/vendor/src.techknowlogick.com/xormigrate/.drone.yml
konrad caf91d1904 Update xorm to use the new import path (#133)
Fix ineffassign

Fix getting all labels including the ones not associated to a task

Signed-off-by: kolaente <k@knt.li>

Fix logging sql queries

Signed-off-by: kolaente <k@knt.li>

Start fixing getting all labels

Update xormigrate

Update xorm to use the new import path

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/133
2020-02-14 16:34:25 +00:00

38 lines
727 B
YAML

kind: pipeline
name: default
workspace:
base: /go
path: src/src.techknowlogick.com/xormigrate
steps:
- name: fetch-and-test
image: golang:1.13
environment:
GO111MODULE: on
commands:
- go get ./...
- go test -v -tags sqlite
- go test -v -tags mysql
- go test -v -tags postgresql
- go test -v -tags sqlserver
services:
- name: pgsql
image: postgres:9.6
environment:
POSTGRES_DB: test
POSTGRES_PASSWORD: postgres
- name: mysql
image: mysql:5.7
environment:
MYSQL_DATABASE: test
MYSQL_ALLOW_EMPTY_PASSWORD: yes
- name: mssql
image: microsoft/mssql-server-linux:latest
environment:
ACCEPT_EULA: Y
SA_PASSWORD: MwantsaSecurePassword1
MSSQL_PID: Standard