forked from ghostec/Will.IAM
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds basic Travis CI pipeline * Add Coveralls integration * Installs goveralls in before CI pipeline * Refactor in Makefile targets naming Changes the naming and structure of Makefile targets to make them more readable. * Add prefixes to targets based on their context: - db- for database related targets - test- for test related targets * Add script to fetch the migrate binary only if its not installed * Dinamically handles the platform where the target is being run. Currently supports two platforms: - Darwin - development machines - Linux - TravisCI jobs * Updates README badges to original repo * Adds CodeClimate badge to README * Improvements in Makefile style and solve PRs comments * Add TODO in Makefile for future improvements
- Loading branch information
1 parent
da5b616
commit d18358e
Showing
6 changed files
with
127 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
language: go | ||
go: | ||
- '1.13' | ||
services: | ||
- docker | ||
cache: | ||
directories: | ||
- "$GOPATH/pkg" | ||
before_install: | ||
- go get github.com/mattn/goveralls | ||
install: | ||
- make ci/install | ||
script: | ||
- make ci/test | ||
after_success: | ||
- goveralls -coverprofile=coverage.out -service=travis-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// +build integration | ||
|
||
package api_test | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters