drop 0.8 support; test with iojs3.0 (tho it is broken)

This commit is contained in:
Trent Mick 2015-08-16 17:51:30 -07:00
parent 9d309c5dc4
commit 3be145a72c
3 changed files with 19 additions and 24 deletions

View file

@ -8,7 +8,10 @@ Known issues:
## bunyan 1.4.1 (not yet released) ## bunyan 1.4.1 (not yet released)
(nothing yet) - Dropped support for 0.8 (can't install deps easily anymore for running
test suite). Bump to a recent iojs version for testing (though really
they move too fast). Note that dtrace-provider build fails for iojs v3.0
right now. :|
## bunyan 1.4.0 ## bunyan 1.4.0

View file

@ -87,23 +87,20 @@ test: $(NODEUNIT)
# Note: 'test10' is last so (if all is well) I end up with a binary # Note: 'test10' is last so (if all is well) I end up with a binary
# dtrace-provider build for node 0.10 (my current version). # dtrace-provider build for node 0.10 (my current version).
.PHONY: testall .PHONY: testall
testall: test22 test20 test18 test012 test08 test010 testall: testiojs30 test012 test010
.PHONY: test22 .PHONY: testalliojs
test22: testalliojs:
@echo "# Test iojs 2.2.x (with node `$(NODEOPT)/iojs-v2.2/bin/node --version`)" ls -d $(NODEOPT)/iojs-?.? | while read dir; do \
@$(NODEOPT)/iojs-v2.2/bin/node --version | grep '^v2\.2\.' echo; \
#PATH="$(NODEOPT)/iojs-v2.2/bin:$(PATH)" make distclean all test echo "# Test $$dir (`$$dir/bin/node --version`)"; \
.PHONY: test20 PATH="$$dir/bin:$(PATH)" make distclean all test; \
test20: done
@echo "# Test iojs 2.0.x (with node `$(NODEOPT)/iojs-v2.0/bin/node --version`)"
@$(NODEOPT)/iojs-v2.0/bin/node --version | grep '^v2\.0\.' .PHONY: testiojs30
PATH="$(NODEOPT)/iojs-v2.0/bin:$(PATH)" make distclean all test testiojs30:
.PHONY: test18 @echo "# Test iojs 3.0 (`$(NODEOPT)/iojs-3.0/bin/node --version`)"
test18: PATH="$(NODEOPT)/iojs-3.0/bin:$(PATH)" make distclean all test
@echo "# Test iojs 1.8.x (with node `$(NODEOPT)/iojs-v1.8/bin/node --version`)"
@$(NODEOPT)/iojs-v1.8/bin/node --version | grep '^v1\.8\.'
PATH="$(NODEOPT)/iojs-v1.8/bin:$(PATH)" make distclean all test
.PHONY: test012 .PHONY: test012
test012: test012:
@echo "# Test node 0.12.x (with node `$(NODEOPT)/node-0.12/bin/node --version`)" @echo "# Test node 0.12.x (with node `$(NODEOPT)/node-0.12/bin/node --version`)"
@ -114,11 +111,6 @@ test010:
@echo "# Test node 0.10.x (with node `$(NODEOPT)/node-0.10/bin/node --version`)" @echo "# Test node 0.10.x (with node `$(NODEOPT)/node-0.10/bin/node --version`)"
@$(NODEOPT)/node-0.10/bin/node --version | grep '^v0\.10\.' @$(NODEOPT)/node-0.10/bin/node --version | grep '^v0\.10\.'
PATH="$(NODEOPT)/node-0.10/bin:$(PATH)" make distclean all test PATH="$(NODEOPT)/node-0.10/bin:$(PATH)" make distclean all test
.PHONY: test08
test08:
@echo "# Test node 0.8.x (with node `$(NODEOPT)/node-0.8/bin/node --version`)"
@$(NODEOPT)/node-0.8/bin/node --version | grep '^v0\.8\.'
PATH="$(NODEOPT)/node-0.8/bin:$(PATH)" make distclean all test
#---- check #---- check

View file

@ -12,7 +12,7 @@
"type": "git", "type": "git",
"url": "git://github.com/trentm/node-bunyan.git" "url": "git://github.com/trentm/node-bunyan.git"
}, },
"engines": ["node >=0.8.0"], "engines": ["node >=0.10.0"],
"keywords": ["log", "logging", "log4j", "json", "bunyan"], "keywords": ["log", "logging", "log4j", "json", "bunyan"],
"// comment1": "'dtrace-provider' required for dtrace features", "// comment1": "'dtrace-provider' required for dtrace features",
@ -23,7 +23,7 @@
"safe-json-stringify": "~1" "safe-json-stringify": "~1"
}, },
"devDependencies": { "devDependencies": {
"nodeunit": "0.9.*", "nodeunit": "0.9",
"ben": "0.0.0", "ben": "0.0.0",
"verror": "1.3.3", "verror": "1.3.3",
"vasync": "1.4.3" "vasync": "1.4.3"