Commit Graph

63 Commits (153f8e7b316a3ea284b23abf5efe2546923778b8)

Author SHA1 Message Date
Peter Dave Hello 2ec2d31012 [Tests] Re-enable WITHOUT_CURL tests 2017-04-06 14:52:26 +08:00
Peter Dave Hello a0534b720a [Tests] Reduce apt package dependencies calculation complexity 2017-04-02 16:48:28 +08:00
Peter Dave Hello 424056c839 [Tests] Remove ShellCheck manual dependency install under Ubuntu 14.04 2017-04-02 15:49:01 +08:00
Peter Dave Hello 18df8e3d2e [Tests] Remove ppa source since we migrated to Ubuntu Trusty 2017-04-02 07:24:56 +08:00
Peter Dave Hello 8fc7e854de
[Tests] Comment out ksh dependency installation, cc #574
- Mistakenly uncommented in 70370a857f
 - per afba4e08fd / #574
2017-03-29 18:05:15 +08:00
Peter Dave Hello 93c1036758
[Tests] Move to Ubuntu 14.04 on Travis CI
Since Ubuntu 12.04 is pretty old now, it's also going to EOL next month,
maybe we can just move on Ubuntu 14.04 first.
2017-03-26 05:19:57 +08:00
Peter Dave Hello f344d0694b [Tests] Move cabel, nvm & npm install into TravisCI "install" section 2017-03-26 05:22:48 +08:00
Peter Dave Hello d9704471ff [Tests] Cache "node_modules" in CI 2017-03-26 04:06:32 +08:00
Peter Dave Hello 82aaa0a20d [Tests] Do not install nodejs, npm deps for SHELLCHECK 2017-03-25 16:57:42 +08:00
Peter Dave Hello e41197ea94 [Tests] Improve npm dependencies installaion in travis ci 2017-03-24 13:46:50 +08:00
Peter Dave Hello 237c3a78e2 [Tests] Add retry on urchin setup which has no built in retry feature
Unlike other built in functions like git fetch or apt-get dependencies,
manual installations won't have retry by default, enabling retry could
help reduce the impact of network issues and furthur prevent getting
build error like Job #1956.21:
- https://travis-ci.org/creationix/nvm/jobs/212640007

Ref:
- https://docs.travis-ci.com/user/common-build-problems/
2017-03-22 20:42:33 +08:00
Peter Dave Hello 1689b174b3 [Test] Add doctoc up-to-date test in TravisCI 2017-02-28 08:45:48 +08:00
Peter Dave Hello 7d08ad4311 [Tests] also cache $HOME/.ghc for cabal 2016-11-25 23:57:08 +08:00
Jordan Harband af73102481 [Fix] fix a typo i made in 20ae7ee309 2016-11-25 00:35:33 -06:00
Peter Dave Hello 20ae7ee309
[Tests] Run shellcheck on nvm-exec in Travis CI 2016-11-24 14:07:56 +08:00
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