mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 15:40:23 +00:00
d6fa853a37
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
No EOL
286 B
YAML
23 lines
No EOL
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) |