mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
added the "initprovider" command to initialize the database structure. If we change the database schema the required changes will be checked at startup and automatically applyed.
23 lines
286 B
YAML
23 lines
286 B
YAML
language: go
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
go:
|
|
- "1.13.x"
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
before_script:
|
|
- sftpgo initprovider
|
|
|
|
install:
|
|
- go get -v -t ./...
|
|
|
|
script:
|
|
- go test -v ./... -coverprofile=coverage.txt -covermode=atomic
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash) |