From 33f6ecc11b64c692ecbbc47f62b2e760527fe6a5 Mon Sep 17 00:00:00 2001 From: "Brian M. Carlson" Date: Mon, 15 Sep 2014 20:49:09 -0400 Subject: [PATCH] Add workflow boilerplate files --- .travis.yml | 6 ++++++ Makefile | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .travis.yml create mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..061e3d1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: node_js +node_js: + - "0.10" + - "0.11" +env: + - PGUSER=postgres diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d7ec83d --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: publish-patch test + +test: + npm test + +patch: test + npm version patch -m "Bump version" + git push origin master --tags + npm publish + +minor: test + npm version minor -m "Bump version" + git push origin master --tags + npm publish