From 3d9af929336e41498c0cd955ebfd9e55b83c2f1c Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 20 Feb 2019 12:01:53 -0800 Subject: [PATCH] ci: add travis Jenkins is EOL at this point. --- .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 00000000..1bf8cd56 --- /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://raw.githubusercontent.com/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 00000000..20619413 --- /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 +