diff --git a/.travis.yml b/.travis.yml index 92185164..e11e396a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,25 +16,28 @@ language: go -go: - - 1.12 - -before_install: - - go get golang.org/x/tools/cmd/cover - - go get github.com/mattn/goveralls - -os: - - windows - script: - - travis_wait 30 mingw32-make test - - - linux - script: - - travis_wait 30 make test - - - osx - script: - - travis_wait 30 make test +go: 1.12 + +matrix: + include: + - os: windows + before_install: + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls + install: choco install mingw + script: travis_wait 30 mingw32-make test_win + + - os: linux + before_install: + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls + script: travis_wait 30 make test + + - os: osx + before_install: + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls + script: travis_wait 30 make test after_success: diff --git a/CHANGELOG.md b/CHANGELOG.md index 92f3e60a..1f66d894 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,11 @@ # [fractal](https://github.com/fractalplatform/fractal) Changelog +## [0.0.6] - 2019-04-04 +### Added +- [CRYPTO] add btcd secp256k1 crypto +### Fixed +- [MAKEFILE] fixed cross platform + + ## [0.0.5] - 2019-04-04 ### Added - [README] add license badge @@ -7,4 +14,5 @@ - [MAKEFILE] add check fmt tag_release release command +[0.0.6]: https://github.com/fractalplatform/fractal/compare/v0.0.5...v0.0.6 [0.0.5]: https://github.com/fractalplatform/fractal/commits/v0.0.5 diff --git a/Makefile b/Makefile index b9d05665..f89c6ea0 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ GOFILES_NOVENDOR := $(shell go list -f "{{.Dir}}" ./...) PACKAGES_NOVENDOR := $(shell go list ./...) WORK_SPACE := ${REPO}/build/_workspace FT_DIR :=${WORK_SPACE}/src/github.com/fractalplatform +TEMP_GOPATH := $(GOPATH) export GOPATH := ${WORK_SPACE} @@ -86,9 +87,15 @@ build_ftfinder: commit_hash check build_workspace ### Test .PHONY: test -test: check build_workspace +test: build_workspace @cd ${FT_DIR}/fractal && scripts/test.sh +.PHONY: test_win +test_win: + @export GOPATH=${TEMP_GOPATH} + @echo ${TEMP_GOPATH} + @echo ${GOPATH} + @bash scripts/test.sh ### Clean up diff --git a/NOTES.md b/NOTES.md index f559efab..a9be9a61 100644 --- a/NOTES.md +++ b/NOTES.md @@ -1,6 +1,5 @@ ### Added -- [README] add license badge -- [SCRIPTS] add is_checkout_dirty.sh release.sh tag_release.sh commit_hash.sh +- [CRYPTO] add btcd secp256k1 crypto ### Fixed -- [MAKEFILE] add check fmt tag_release release command +- [MAKEFILE] fixed cross platform diff --git a/cmd/utils/history.go b/cmd/utils/history.go index b6281bc3..95cc82ef 100644 --- a/cmd/utils/history.go +++ b/cmd/utils/history.go @@ -41,6 +41,12 @@ import "github.com/monax/relic" // release tagging script: ./scripts/tag_release.sh var History relic.ImmutableHistory = relic.NewHistory("fractal", "https://github.com/fractalplatform/fractal"). MustDeclareReleases( + "0.0.6 - 2019-04-04", + `### Added +- [CRYPTO] add btcd secp256k1 crypto +### Fixed +- [MAKEFILE] fixed cross platform +`, "0.0.5 - 2019-04-04", `### Added - [README] add license badge