mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-15 02:41:48 +03:00
d77176912b
* Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
26 lines
475 B
YAML
26 lines
475 B
YAML
language: go
|
|
|
|
go:
|
|
- '1.9'
|
|
- '1.10'
|
|
|
|
services:
|
|
- postgresql
|
|
- mysql
|
|
|
|
addons:
|
|
postgresql: "9.4"
|
|
|
|
before_script:
|
|
- mysql -e 'CREATE DATABASE testfixtures_test;'
|
|
- psql -c 'CREATE DATABASE testfixtures_test;' -U postgres
|
|
|
|
install:
|
|
- go get -t -tags 'sqlite postgresql mysql' ./...
|
|
- curl -s https://raw.githubusercontent.com/go-task/task/master/install-task.sh | sh
|
|
- bin/task dl-deps
|
|
- cp .sample.env .env
|
|
|
|
script:
|
|
- bin/task lint
|
|
- bin/task test-free
|