Commit Graph

48 Commits (ac63638469aca2855732cde56d24a9265fa93bb6)

Author SHA1 Message Date
Peter Dave Hello b7f9fbd3a7 [Tests] run shellcheck for bash_completion in Travis CI 2016-11-24 16:00:23 +08:00
Peter Dave Hello 60ba4bca0c [Tests] Remove not working clang part until we refactor the workflow 2016-11-24 14:38:22 +08:00
Peter Dave Hello 5508f8dc70 [Tests] switch to use Cabal to install ShellCheck
1. This can help speed up the apt process since we decrease the
complexity of apt sources and package dependencies resolving by dropping
an additional ppa source.

2. Stack doesn't update ShellCheck to v0.4.5 after it has been released
more than one month, Cabal can provide ShellCheck v0.4.5
2016-11-23 22:04:45 +08:00
Peter Dave Hello 49e8068271 [CI] Drop manual apt source and package installation
- Use Travis CI apt addon source whitelist to load apt source
 - Use Travis CI apt addon to install additional packages

This can prevent duplicating apt package list update and dependencies
calculation which means it can speed up the CI build.
2016-11-17 21:11:48 +08:00
Peter Dave Hello 9f67d3ef66
[Tests] Upgrade clang from llvm in Travis-ci 2016-11-14 12:04:36 +08:00
Hiro Asari 4b88613508 Consolidate APT packages
Consolidate APT packages definition into one place, so that the folding is displayed correctly.
2016-10-12 13:58:24 -04:00
Jordan Harband 25c7260f1e
[Tests] improve test matrix 2016-09-04 11:28:35 -07:00
Jordan Harband a5d7ff7440
[Tests] explicitly set `$CXX` and `$CC` 2016-08-15 14:45:42 -07:00
Jordan Harband c7515bf108
[Tests] trying an alternative syntax for gcc upgrades 2016-08-15 12:58:51 -07:00
Jordan Harband f178a09d89
[Tests] update gcc to 4.8 2016-08-15 12:55:49 -07:00
Jordan Harband 62696cb0d6
Partially revert 494aa60bd8 2016-05-08 22:33:39 -07:00
Myles Borins 494aa60bd8
travis: enable trusty beta 2016-09-02 23:43:47 -07:00
Jordan Harband e546149f7b
[New] add `nvm cache` with “dir” and “clean” commands.
- cache the nvm cache on travis
2016-09-02 23:43:46 -07:00
Jordan Harband d0180f7eb2 [shellcheck] build from source to get v0.4.4 2016-08-24 00:30:08 -07:00
Jordan Harband 5ba6e748b7
[Tests] run shellcheck in tests. 2016-08-23 23:07:42 -07:00
Luke Childs f653bdc606 Print shell version on Travis 2016-07-31 21:14:30 +01:00
Jordan Harband fdc08122e3
[Tests] swap order of slow + sourcing tests. 2016-05-08 23:52:51 -07:00
Jordan Harband c9b7ccdaea
Run `node` and `io.js` installation test suites separately. 2016-05-08 22:21:33 -07:00
Cătălin Mariș 1f336ffbfe
Use `language: generic` in `.travis.yml`
Since the tests don't rely on / fall into any of the language
categories¹ defined by Travis CI, `language: generic`² can be used.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

¹ https://docs.travis-ci.com/user/languages/
² https://github.com/travis-ci/travis-ci/issues/4895#issuecomment-150703192
2016-04-29 00:57:10 +03:00
Mathias Meyer f851716601 Add workaround for Travis CI environment issue.
Per https://github.com/travis-ci/travis-ci/issues/5363
2015-12-22 11:28:25 +01:00
Jordan Harband 803be3a4eb [Tests] temporarily disable WITHOUT_CURL tests.
Blocked by https://github.com/nodejs/build/issues/233
2015-12-02 22:49:38 -08:00
Jordan Harband 45e4387ce3 [Tests] Print out `curl` and `wget` versions inside `travis-ci` 2015-11-02 00:50:40 -08:00
Jordan Harband bb2fe618cb The install script only runs in bash. 2015-04-27 16:55:21 -07:00
Jordan Harband 70370a857f No more need for `sudo` to install `ksh` and `zsh`. 2015-03-19 11:05:31 -07:00
Jordan Harband f0d81e2d33 Revert "install: adding some debugging output"
This reverts commit c8efe3d28a.

Conflicts:
	install.sh
2015-02-09 17:16:56 -08:00
elliottcable c8efe3d28a install: adding some debugging output 2015-02-07 20:50:10 -06:00
Jacob Hoffman-Andrews bb2564d6db npmjs.org -> npmjs.com 2015-01-18 22:24:22 -08:00
Jacob Hoffman-Andrews 896a7eddd3 Move some URLs to HTTPS. 2015-01-18 12:05:44 -08:00
Jordan Harband afba4e08fd Temporarily disable ksh tests, per #574 2014-11-15 11:02:00 -06:00
Michael Klement 2d8adac785 .travis.yml now obtains latest urchin version from the npm registry instead of directly from GitHub 2014-11-05 23:22:55 -05:00
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