2015-10-19 16:07:48 +08:00
|
|
|
sudo: false
|
2014-07-21 13:09:53 +08:00
|
|
|
language: go
|
2016-04-02 03:23:37 +08:00
|
|
|
go:
|
2020-09-20 15:40:44 +08:00
|
|
|
- 1.15.x
|
2021-02-17 07:17:51 +08:00
|
|
|
- 1.16.x
|
2014-07-21 13:09:53 +08:00
|
|
|
|
|
|
|
before_install:
|
2019-04-07 02:13:53 +08:00
|
|
|
- export PATH=/home/travis/gopath/bin:$PATH
|
2014-07-21 13:09:53 +08:00
|
|
|
|
|
|
|
install:
|
2019-04-07 02:53:56 +08:00
|
|
|
- export CGO_ENABLED="0"
|
2019-04-07 02:52:55 +08:00
|
|
|
- go env
|
2016-04-02 03:23:37 +08:00
|
|
|
|
2014-07-21 13:09:53 +08:00
|
|
|
script:
|
2019-07-30 17:46:33 +08:00
|
|
|
- env GO111MODULE=on go test ./weed/...
|
2017-01-04 13:14:46 +08:00
|
|
|
|
2017-01-04 17:59:26 +08:00
|
|
|
before_deploy:
|
|
|
|
- make release
|
2017-01-04 13:14:46 +08:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2017-01-04 14:36:39 +08:00
|
|
|
skip_cleanup: true
|
2017-01-04 13:14:46 +08:00
|
|
|
api_key:
|
|
|
|
secure: ERL986+ncQ8lwAJUYDrQ8s2/FxF/cyNIwJIFCqspnWxQgGNNyokET9HapmlPSxjpFRF0q6L2WCg9OY3mSVRq4oI6hg1igOQ12KlLyN71XSJ3c8w0Ay5ho48TQ9l3f3Iu97mntBCe9l0R9pnT8wj1VI8YJxloXwUMG2yeTjA9aBI=
|
|
|
|
file:
|
2019-04-07 02:13:53 +08:00
|
|
|
- build/linux_arm.tar.gz
|
|
|
|
- build/linux_arm64.tar.gz
|
|
|
|
- build/linux_386.tar.gz
|
|
|
|
- build/linux_amd64.tar.gz
|
2019-04-09 13:32:42 +08:00
|
|
|
- build/linux_amd64_large_disk.tar.gz
|
2019-04-07 02:13:53 +08:00
|
|
|
- build/darwin_amd64.tar.gz
|
2019-04-09 13:32:42 +08:00
|
|
|
- build/darwin_amd64_large_disk.tar.gz
|
2019-04-07 02:13:53 +08:00
|
|
|
- build/windows_386.zip
|
|
|
|
- build/windows_amd64.zip
|
2019-04-09 13:32:42 +08:00
|
|
|
- build/windows_amd64_large_disk.zip
|
2019-04-07 02:13:53 +08:00
|
|
|
- build/freebsd_arm.tar.gz
|
|
|
|
- build/freebsd_amd64.tar.gz
|
|
|
|
- build/freebsd_386.tar.gz
|
|
|
|
- build/netbsd_arm.tar.gz
|
|
|
|
- build/netbsd_amd64.tar.gz
|
|
|
|
- build/netbsd_386.tar.gz
|
|
|
|
- build/openbsd_arm.tar.gz
|
|
|
|
- build/openbsd_amd64.tar.gz
|
|
|
|
- build/openbsd_386.tar.gz
|
2017-01-04 13:14:46 +08:00
|
|
|
on:
|
2017-01-04 14:38:08 +08:00
|
|
|
tags: true
|
2017-01-04 14:40:04 +08:00
|
|
|
repo: chrislusf/seaweedfs
|
2021-02-17 07:17:51 +08:00
|
|
|
go: 1.16.x
|