-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #256 Add converalls #261
Changes from 7 commits
0bd1734
856c05f
1299162
7c0a4f4
81ffee1
07351e6
7a90629
026f05c
7a725a9
2090d11
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,8 @@ matrix: | |
- DEFAULT_ARCH=rpi2 make install-docker-deps | ||
- DEFAULT_ARCH=rpi3 make install-docker-deps | ||
- make install-deps-no-envs | ||
- go get golang.org/x/tools/cmd/cover | ||
- go get github.com/mattn/goveralls | ||
script: | ||
- make clean | ||
- DEFAULT_TARGET=rpi1 make build-docker | ||
|
@@ -26,44 +28,56 @@ matrix: | |
install: | ||
- DEFAULT_ARCH=android make install-docker-deps | ||
- make install-deps-no-envs | ||
- go get golang.org/x/tools/cmd/cover | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these two lines should be a new target in |
||
- go get github.com/mattn/goveralls | ||
script: | ||
- make clean | ||
- DEFAULT_TARGET=android make build-docker | ||
- DEFAULT_TARGET=android-emulator make build-docker | ||
- make lint | ||
- make test | ||
- make test-cover-travis | ||
- stage: Linux | ||
install: | ||
- make install-docker-deps | ||
- make install-deps-no-envs | ||
- make install-linters | ||
- go get golang.org/x/tools/cmd/cover | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these two lines should be a new target in |
||
- go get github.com/mattn/goveralls | ||
script: | ||
- make clean | ||
- DEFAULT_TARGET=linux make build-docker | ||
- make test | ||
- make lint | ||
- make test-cover-travis | ||
- stage: Windows | ||
os: windows | ||
install: | ||
- choco install make -y | ||
- travis_wait make install-deps-Windows | ||
- make install-linters | ||
- go get golang.org/x/tools/cmd/cover | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these two lines should be a new target in |
||
- go get github.com/mattn/goveralls | ||
script: | ||
- make build | ||
- make test | ||
- make build-icon | ||
- make lint | ||
- make test-cover-travis | ||
- stage: MacOS | ||
os: osx | ||
osx_image: xcode10.2 | ||
install: | ||
- make install-deps | ||
- go get golang.org/x/tools/cmd/cover | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these two lines should be a new target in |
||
- go get github.com/mattn/goveralls | ||
script: | ||
- make clean | ||
- make build | ||
- make test | ||
- make build-icon | ||
- make lint | ||
- make test-cover-travis | ||
notifications: | ||
email: false | ||
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify | ||
|
@@ -83,6 +97,7 @@ deploy: | |
kip_cleanup: true | ||
draft: true | ||
overwrite: true | ||
on: | ||
on: | ||
repo: fibercrypto/FiberCryptoWallet | ||
tags: true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,6 +199,11 @@ test-sky-launch-html-cover: | |
go test -coverprofile=$(COVERAGEFILE) -timeout 30s github.com/fibercrypto/FiberCryptoWallet/src/coin/skycoin/models | ||
go tool cover -html=$(COVERAGEFILE) -o $(COVERAGEHTML) | ||
|
||
test-cover-travis: | ||
go test -covermode=count -coverprofile=coverage.out -timeout 30s github.com/fibercrypto/FiberCryptoWallet/src/util | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there are more tests , see |
||
$(HOME)/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken 1zkcSxi8TkcxpL2zTQOK9G5FFoVgWjceP | ||
|
||
|
||
test-cover: clean-test test-sky-launch-html-cover ## Show more details of test coverage | ||
|
||
test: clean-test test-core test-sky ## Run project test suite | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two lines should be a new target in
Makefile