Skip to content
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

Merged
merged 10 commits into from
Dec 1, 2019
17 changes: 16 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

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

- go get github.com/mattn/goveralls
script:
- make clean
- DEFAULT_TARGET=rpi1 make build-docker
Expand All @@ -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
Copy link
Contributor

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

- 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
Copy link
Contributor

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

- 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
Copy link
Contributor

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

- 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
Copy link
Contributor

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

- 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
Expand All @@ -83,6 +97,7 @@ deploy:
kip_cleanup: true
draft: true
overwrite: true
on:
on:
repo: fibercrypto/FiberCryptoWallet
tags: true

5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are more tests , see test and test-cover target.

$(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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Build Status](https://travis-ci.org/fibercrypto/FiberCryptoWallet.svg?branch=develop)](https://travis-ci.org/fibercrypto/FiberCryptoWallet)
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](CONTRIBUTING.md)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](LICENSE.GPLv3)
[![Coverage Status](https://coveralls.io/repos/github/fibercrypto/FiberCryptoWallet/badge.svg?branch=develop)](https://coveralls.io/github/fibercrypto/FiberCryptoWallet?branch=develop)

FiberCrypto wallet is a cryptocurrency software wallet aimed at:

Expand Down