Skip to content

Commit

Permalink
Release v1.0.1
Browse files Browse the repository at this point in the history
* Fix travis go version and update docs
* Add master build status to readme
  • Loading branch information
dillon-giacoppo authored Apr 11, 2018
1 parent 6837370 commit bcc5f81
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ language: go
# in the next version of Go. Don't worry! Later we declare that test runs
# are allowed to fail on Go tip.
go:
- 1.10
- 1.10.x
- master

matrix:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ dep:
@misc/scripts/deps-ensure
@dep ensure -v

fmt:
@go fmt ./...

test:
@go test -v ./pkg/...
@go test -v -race ./...
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# go-artifactory #
go-artifactory is a Go client library for accessing the [Artifactory API](https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API)

go-artifactory is tested on Go version 1.9
[![Build Status](https://travis-ci.org/atlassian/go-artifactory.svg?branch=master)](https://travis-ci.org/atlassian/go-artifactory)

## Requirements ##
- Go version 1.9+
- Dep is used for dependency management

## Usage ##
```go
Expand Down
4 changes: 2 additions & 2 deletions misc/hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env bash

go fmt ./pkg/...
go fmt ./...

# re-add formatted files
for file in `git diff --cached --name-only`
do
git add $file
done

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

0 comments on commit bcc5f81

Please sign in to comment.