Commit Graph

18 Commits (6ec62fcc79f007472a56aadeaa0168a075791fa6)

Author SHA1 Message Date
Michael Klement ac912afc4c Many makefile enhancements (support for direct invocation, instructions if invoked without target, release mechanism improved), package.json scripts now invoke the makefile.
- Using `npm test` and `npm run …` scripts defined in package.json now invokes the makefile and runs the test with the same shell that npm was invoked from.
- The makefile can now be invoked directly - supporting utilities from locally installed npm packages are automatically discovered.
- Invoking the makefile without a target errors out with a hint.
- Shell-specific test targets are now named 'test-<shell>'.
- Both 'test-<shell>' targets and the all-shells 'test' target now run all test suites by default.
- On `make TAG=<new-version> release` there must be no uncommitted changes. '<new-version>' can now also be one of the following increment specifiers: 'patch', 'minor', 'major'.
- It is ensure that <new-version>, if not an increment specifier, is a valid semver version number that is higher than the previous release's.
- The previous release tag is now located with a pattern so as to exclude tags that aren't version numbers.
- Switched from lightweight to annotated tags for releases.
2014-10-30 00:13:22 -04:00
Xavier Cambar 3cdec8e875 Testable install script
* wraps main code into a function
* EnvVar-based install start
* Clean environment after install
2014-10-28 11:44:01 +01:00
Jordan Harband cec1c38a84 Move sourcing tests to a separate test suite. 2014-10-26 23:40:32 -07:00
Jordan Harband ad604cc068 Only run the "installation" tests both with and without curl. 2014-09-14 17:25:17 -07:00
Jordan Harband ba08fa31d8 Moving actual installation tests to their own suite. 2014-09-14 17:24:30 -07:00
Jordan Harband 13aadbcf31 Run slow tests in ksh too 2014-09-14 16:42:23 -07:00
Jordan Harband d341d5e535 Run all slow tests on all shells 2014-08-08 12:16:22 -07:00
Jordan Harband abdc3f3c21 Run all fast tests without curl. 2014-08-07 13:53:12 -07:00
Koen Punt 423629c38b add test without curl 2014-07-18 14:35:22 +02:00
Koen Punt 24e22dd8bc no need for the extra task, every shell name is already a task 2014-05-10 12:27:11 +02:00
Koen Punt 61de5f9ca3 enable slow test suite for sh 2014-05-10 12:15:19 +02:00
Koen Punt 7e20a77c89 pass env vars to makefile 2014-05-09 16:42:04 +02:00
Koen Punt 79203ba5d0 split tests by shell 2014-05-09 16:23:14 +02:00
Bent Cardan 13b87449e8 github raw served from new subdomain 2014-04-26 03:48:06 -04:00
Jordan Harband 47bbf93f50 Travis CI defaults to ruby; c will be faster 2014-04-19 22:59:30 -07:00
Koen Punt def7ec5364 install shells before running tests 2014-03-22 18:51:39 +01:00
Koen Punt 52a384a0cc Add Makefile for multishell testing
updated nvm current test for zsh
2014-03-22 18:47:15 +01:00
Koen Punt 38a0c997e2 Added travis config, fixed tests for use on travis 2014-03-17 14:33:25 +01:00