Skip to content

Commit

Permalink
Merge pull request #2 from HorizenOfficial/cr/dockerfile_and_cleanup
Browse files Browse the repository at this point in the history
Cr/dockerfile and cleanup
  • Loading branch information
cronicc committed Oct 29, 2020
2 parents c424ec1 + 8a2b781 commit 1ec4efc
Show file tree
Hide file tree
Showing 31 changed files with 341 additions and 289 deletions.
103 changes: 0 additions & 103 deletions .circleci/config.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .dockerignore
@@ -1,3 +1,8 @@
rosetta-bitcoin
zen-data
cli-data
cli-data
Dockerfile*
*.sh
!entrypoint.sh
*.md
ci/
69 changes: 69 additions & 0 deletions .travis.yml
@@ -0,0 +1,69 @@
os: linux
dist: bionic
language: go
go:
- "1.15.3"
services:
- docker
addons:
apt:
packages:
- pigz

env:
global:
- GO111MODULE=on
- ALLOW_FAIL=false

# TODO remove || true
install: make deps || true

# TODO fix failures
jobs:
allow_failures:
env:
- ALLOW_FAIL=true
include:
- stage: Tests
script: make test
- stage: Tests
env:
- ALLOW_FAIL=true
script:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
- make lint
- stage: Tests
env:
- ALLOW_FAIL=true
script: make check-license
- stage: Tests
env:
- ALLOW_FAIL=true
script: make check-format
- stage: Tests
env:
- ALLOW_FAIL=true
script: make coverage
- stage: Tests
env:
- ALLOW_FAIL=true
script: make salus
- stage: Build
script:
- source ci/setup_env.sh
- if [ ! -z "${version}" ]; then make build-release; else make build-local; fi

deploy:
edge: true
provider: releases
draft: false
overwrite: true
token: "${GITHUB_TOKEN}"
release_notes: "Release ${version}"
file_glob: false
file:
- "./rosetta-zen-${version}.tar.gz"
cleanup: false
on:
tags: true
condition: '! -z "${version}"'

0 comments on commit 1ec4efc

Please sign in to comment.