Skip to content

Commit bcc5f81

Browse files
Release v1.0.1
* Fix travis go version and update docs * Add master build status to readme
1 parent 6837370 commit bcc5f81

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ language: go
88
# in the next version of Go. Don't worry! Later we declare that test runs
99
# are allowed to fail on Go tip.
1010
go:
11-
- 1.10
11+
- 1.10.x
1212
- master
1313

1414
matrix:

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ dep:
77
@misc/scripts/deps-ensure
88
@dep ensure -v
99

10+
fmt:
11+
@go fmt ./...
12+
1013
test:
11-
@go test -v ./pkg/...
14+
@go test -v -race ./...

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# go-artifactory #
22
go-artifactory is a Go client library for accessing the [Artifactory API](https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API)
33

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
59

610
## Usage ##
711
```go

misc/hooks/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env bash
22

3-
go fmt ./pkg/...
3+
go fmt ./...
44

55
# re-add formatted files
66
for file in `git diff --cached --name-only`
77
do
88
git add $file
99
done
1010

11-
go test -v ./pkg/...
11+
go test -v -race ./...

0 commit comments

Comments
 (0)