Skip to content

Commit

Permalink
Merge 2090d11 into adf8d68
Browse files Browse the repository at this point in the history
  • Loading branch information
m4yk3ldev committed Nov 30, 2019
2 parents adf8d68 + 2090d11 commit 820efa7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ matrix:
- DEFAULT_ARCH=rpi2 make install-docker-deps
- DEFAULT_ARCH=rpi3 make install-docker-deps
- make install-deps-no-envs
- make install-coveralls
script:
- make clean
- DEFAULT_TARGET=rpi1 make build-docker
Expand All @@ -26,44 +27,52 @@ matrix:
install:
- DEFAULT_ARCH=android make install-docker-deps
- make install-deps-no-envs
- make install-coveralls
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
- make install-coveralls
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
- make install-coveralls
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
- make install-coveralls
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 +92,7 @@ deploy:
kip_cleanup: true
draft: true
overwrite: true
on:
on:
repo: fibercrypto/FiberCryptoWallet
tags: true

13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,15 @@ 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=$(COVERAGEFILE) -timeout 30s github.com/fibercrypto/FiberCryptoWallet/src/util
$(HOME)/gopath/bin/goveralls -coverprofile=$(COVERAGEFILE) -service=travis-ci -repotoken 1zkcSxi8TkcxpL2zTQOK9G5FFoVgWjceP
go test -coverprofile=$(COVERAGEFILE) -timeout 30s github.com/fibercrypto/FiberCryptoWallet/src/coin/skycoin/models
$(HOME)/gopath/bin/goveralls -coverprofile=$(COVERAGEFILE) -service=travis-ci -repotoken 1zkcSxi8TkcxpL2zTQOK9G5FFoVgWjceP
go test -cover -covermode=count -coverprofile=$(COVERAGEFILE) -timeout 30s github.com/fibercrypto/FiberCryptoWallet/src/coin/skycoin
$(HOME)/gopath/bin/goveralls -coverprofile=$(COVERAGEFILE) -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 All @@ -207,6 +216,10 @@ install-linters: ## Install linters
go get -u github.com/FiloSottile/vendorcheck
cat ./.travis/install-golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.21.0

install-coveralls: ## Install coveralls
go get golang.org/x/tools/cmd/cover
go get github.com/mattn/goveralls

lint: ## Run linters. Use make install-linters first.
# src needs separate linting rules
golangci-lint run -c .golangci.yml ./src/coin/...
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

0 comments on commit 820efa7

Please sign in to comment.