Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
webdav
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Partitio
Lab
webdav
Commits
37f7de2f
Unverified
Commit
37f7de2f
authored
7 years ago
by
Henrique Dias
Browse files
Options
Downloads
Patches
Plain Diff
Add Travus and Goreleaser
parent
cb70d30b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.goreleaser.yml
+29
-0
29 additions, 0 deletions
.goreleaser.yml
.travis.yml
+22
-0
22 additions, 0 deletions
.travis.yml
cmd/webdav/main.go
+4
-0
4 additions, 0 deletions
cmd/webdav/main.go
with
55 additions
and
0 deletions
.goreleaser.yml
0 → 100644
+
29
−
0
View file @
37f7de2f
build
:
main
:
cmd/webdav/main.go
binary
:
webdav
goos
:
-
darwin
-
linux
-
windows
-
freebsd
-
netbsd
-
openbsd
goarch
:
-
amd64
-
386
-
arm
-
arm64
ignore
:
-
goos
:
openbsd
goarch
:
arm
goarm
:
6
-
goos
:
freebsd
goarch
:
arm
goarm
:
6
archive
:
name_template
:
"
{{.Os}}-{{.Arch}}-{{
.ProjectName
}}"
format
:
tar.gz
format_overrides
:
-
goos
:
windows
format
:
zip
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.travis.yml
0 → 100644
+
22
−
0
View file @
37f7de2f
language
:
go
go
:
1.8.3
env
:
-
"
PATH=/home/travis/gopath/bin:$PATH"
install
:
-
go get ./...
# Install gometalinter and certain linters
-
go get github.com/alecthomas/gometalinter
-
go get github.com/client9/misspell/cmd/misspell
-
go get github.com/gordonklaus/ineffassign
-
go get golang.org/x/tools/cmd/goimports
-
go get github.com/tsenart/deadcode
script
:
-
gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests ./...
-
go test ./... -timeout 30s
after_success
:
-
test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
This diff is collapsed.
Click to expand it.
cmd/webdav/main.go
+
4
−
0
View file @
37f7de2f
package
main
func
main
()
{
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment