Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Add .travis.yml config and badge. #39

Merged
merged 1 commit into from
Mar 12, 2016
Merged

Add .travis.yml config and badge. #39

merged 1 commit into from
Mar 12, 2016

Conversation

dmitshur
Copy link
Collaborator

Hey @gregjones, if you're okay with using Travis for CI, here's a PR that adds a good starting configuration and a badge to the README:

  • Ensure gofmted code.
  • Run go vet.
  • Run tests with race detector.
  • Run on 1.6 and tip, but tip is an allowed failure with fast finish on.

Feel free to close this PR if it's not helpful to you. This is related to https://github.com/gregjones/httpcache/issues/38#issuecomment-195017030.

- Ensure gofmted code.
- Run go vet.
- Run tests with race detector.
- Run on 1.6 and tip, but tip is an allowed failure with fast finish on.
@dmitshur
Copy link
Collaborator Author

Of course, if you do merge this, the status will be failing until #38 is resolved.

gregjones added a commit that referenced this pull request Mar 12, 2016
Add .travis.yml config and badge.
@gregjones gregjones merged commit 6f21ebc into gregjones:master Mar 12, 2016
@gregjones
Copy link
Owner

Thanks, very useful. I took the -s of the gofmt check because I didn't know it existed, and have never had my editor set to run it, but will probably revisit that at some point.

@dmitshur dmitshur deleted the add-travis-ci branch March 13, 2016 01:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants