From 01dbff80cdcb5e86f889df6e9373b6b06967e2e2 Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Tue, 3 Apr 2018 00:20:30 -0700 Subject: [PATCH] add travis.yml Former-commit-id: 336d9f0374b48cf94618257812046fd2637a65da [formerly 336d9f0374b48cf94618257812046fd2637a65da [formerly 2a4ebaad386bf868b827f7f9aa052a24d3033867 [formerly fdf584f7a5be7c735a4619ee479576706bb860d6]]] Former-commit-id: fc0f6d0c7619819dd2749f02b15e80400540cf77 Former-commit-id: 45f4cdd1cb7266a47e53a2680ee37bf2a70d8c26 [formerly 35ba1c8337b0550d2e817f9ac3b348c386b28188] Former-commit-id: 230887e5e86d239ffa3e3ab801fa3c14a2bfc99a --- .editorconfig | 13 +++++++++++++ .travis.yml | 7 +++++++ Makefile | 3 +++ 3 files changed, 23 insertions(+) create mode 100644 .editorconfig create mode 100644 .travis.yml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c3bc90e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +; http://editorconfig.org/ + +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +[*.go] +indent_style = tab +indent_size = 4 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..da456e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: go +go: + - "1.9.x" + - "1.10.x" + - "master" +script: + - make test diff --git a/Makefile b/Makefile index 7e80e57..2621c98 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,6 @@ clean: go clean && \ rm -f bin/cointop64 && \ rm -f bin/cointop32 + +test: + @echo "no tests"