File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ language: go
8
8
# in the next version of Go. Don't worry! Later we declare that test runs
9
9
# are allowed to fail on Go tip.
10
10
go :
11
- - 1.10
11
+ - 1.10.x
12
12
- master
13
13
14
14
matrix :
Original file line number Diff line number Diff line change 7
7
@misc/scripts/deps-ensure
8
8
@dep ensure -v
9
9
10
+ fmt :
11
+ @go fmt ./...
12
+
10
13
test :
11
- @go test -v ./pkg /...
14
+ @go test -v -race . /...
Original file line number Diff line number Diff line change 1
1
# go-artifactory #
2
2
go-artifactory is a Go client library for accessing the [ Artifactory API] ( https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API )
3
3
4
- go-artifactory is tested on Go version 1.9
4
+ [ ![ Build Status] ( https://travis-ci.org/atlassian/go-artifactory.svg?branch=master )] ( https://travis-ci.org/atlassian/go-artifactory )
5
+
6
+ ## Requirements ##
7
+ - Go version 1.9+
8
+ - Dep is used for dependency management
5
9
6
10
## Usage ##
7
11
``` go
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- go fmt ./pkg /...
3
+ go fmt . /...
4
4
5
5
# re-add formatted files
6
6
for file in ` git diff --cached --name-only`
7
7
do
8
8
git add $file
9
9
done
10
10
11
- go test -v ./pkg /...
11
+ go test -v -race . /...
You can’t perform that action at this time.
0 commit comments