From 1dd2d3a9388f1eb542da2a761541b32aacee09c7 Mon Sep 17 00:00:00 2001 From: "Brian M. Carlson" Date: Mon, 3 Nov 2014 10:44:19 -0500 Subject: [PATCH] Add infrastructure 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 00000000..061e3d15 --- /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 00000000..d7ec83d5 --- /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