From 79139bb22386c714af08d35e5d7d13263ddea422 Mon Sep 17 00:00:00 2001 From: Yang Song Date: Fri, 23 Aug 2019 12:15:06 -0700 Subject: [PATCH] Add Circle CI config and remove Travis CI config (#233) Also update Makefile to build tools locally. Similar to https://github.com/open-telemetry/rfcs/pull/14. --- .circleci/config.yml | 12 ++++++++++++ .gitignore | 5 ++++- .travis.yml | 17 ----------------- 3 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..5b022c6 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,12 @@ + +version: 2 + +jobs: + build: + docker: + - image: circleci/golang:1.12 + steps: + - checkout + - run: + name: Verify + command: make precommit diff --git a/.gitignore b/.gitignore index 8f301c3..cb3a525 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,7 @@ bin \#*\# # Vim -.swp \ No newline at end of file +.swp + +# Misspell binary +.tools \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a5c5d17..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: go -cache: - directories: - - /home/travis/gopath/pkg/mod - -go: - - 1.12.x - -env: - global: - GO111MODULE=on - -install: - - make install-tools - -script: - - make travis-ci