Peter Dave Hello
229c7e6f0c
[Tests] Test "make release" in Travis CI
8 years ago
Peter Dave Hello
2ec2d31012
[Tests] Re-enable WITHOUT_CURL tests
8 years ago
Peter Dave Hello
a0534b720a
[Tests] Reduce apt package dependencies calculation complexity
8 years ago
Peter Dave Hello
424056c839
[Tests] Remove ShellCheck manual dependency install under Ubuntu 14.04
8 years ago
Peter Dave Hello
18df8e3d2e
[Tests] Remove ppa source since we migrated to Ubuntu Trusty
8 years ago
Peter Dave Hello
8fc7e854de
[Tests] Comment out ksh dependency installation, cc #574
...
- Mistakenly uncommented in 70370a857f
- per afba4e08fd
/ #574
8 years ago
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.
8 years ago
Peter Dave Hello
f344d0694b
[Tests] Move cabel, nvm & npm install into TravisCI "install" section
8 years ago
Peter Dave Hello
d9704471ff
[Tests] Cache "node_modules" in CI
8 years ago
Peter Dave Hello
82aaa0a20d
[Tests] Do not install nodejs, npm deps for SHELLCHECK
8 years ago
Peter Dave Hello
e41197ea94
[Tests] Improve npm dependencies installaion in travis ci
8 years ago
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/
8 years ago
Peter Dave Hello
1689b174b3
[Test] Add doctoc up-to-date test in TravisCI
8 years ago
Peter Dave Hello
7d08ad4311
[Tests] also cache $HOME/.ghc for cabal
8 years ago
Jordan Harband
af73102481
[Fix] fix a typo i made in 20ae7ee309
8 years ago
Peter Dave Hello
20ae7ee309
[Tests] Run shellcheck on nvm-exec in Travis CI
8 years ago
Peter Dave Hello
b7f9fbd3a7
[Tests] run shellcheck for bash_completion in Travis CI
8 years ago
Peter Dave Hello
60ba4bca0c
[Tests] Remove not working clang part until we refactor the workflow
8 years ago
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
8 years ago
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.
8 years ago
Peter Dave Hello
9f67d3ef66
[Tests] Upgrade clang from llvm in Travis-ci
8 years ago
Hiro Asari
4b88613508
Consolidate APT packages
...
Consolidate APT packages definition into one place, so that the folding is displayed correctly.
8 years ago
Jordan Harband
25c7260f1e
[Tests] improve test matrix
9 years ago
Jordan Harband
d0180f7eb2
[shellcheck] build from source to get v0.4.4
9 years ago
Jordan Harband
5ba6e748b7
[Tests] run shellcheck in tests.
9 years ago
Jordan Harband
a5d7ff7440
[Tests] explicitly set `$CXX` and `$CC`
9 years ago
Jordan Harband
c7515bf108
[Tests] trying an alternative syntax for gcc upgrades
9 years ago
Jordan Harband
f178a09d89
[Tests] update gcc to 4.8
9 years ago
Luke Childs
f653bdc606
Print shell version on Travis
9 years ago
Jordan Harband
fdc08122e3
[Tests] swap order of slow + sourcing tests.
9 years ago
Jordan Harband
62696cb0d6
Partially revert 494aa60bd8
9 years ago
Myles Borins
494aa60bd8
travis: enable trusty beta
9 years ago
Jordan Harband
e546149f7b
[New] add `nvm cache` with “dir” and “clean” commands.
...
- cache the nvm cache on travis
9 years ago
Jordan Harband
c9b7ccdaea
Run `node` and `io.js` installation test suites separately.
9 years ago
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
9 years ago
Mathias Meyer
f851716601
Add workaround for Travis CI environment issue.
...
Per https://github.com/travis-ci/travis-ci/issues/5363
9 years ago
Jordan Harband
803be3a4eb
[Tests] temporarily disable WITHOUT_CURL tests.
...
Blocked by https://github.com/nodejs/build/issues/233
9 years ago
Jordan Harband
45e4387ce3
[Tests] Print out `curl` and `wget` versions inside `travis-ci`
9 years ago
Jordan Harband
bb2fe618cb
The install script only runs in bash.
10 years ago
Jordan Harband
70370a857f
No more need for `sudo` to install `ksh` and `zsh`.
10 years ago
Jordan Harband
f0d81e2d33
Revert "install: adding some debugging output"
...
This reverts commit c8efe3d28a
.
Conflicts:
install.sh
10 years ago
elliottcable
c8efe3d28a
install: adding some debugging output
10 years ago
Jacob Hoffman-Andrews
bb2564d6db
npmjs.org -> npmjs.com
10 years ago
Jacob Hoffman-Andrews
896a7eddd3
Move some URLs to HTTPS.
10 years ago
Jordan Harband
afba4e08fd
Temporarily disable ksh tests, per #574
10 years ago
Michael Klement
2d8adac785
.travis.yml now obtains latest urchin version from the npm registry instead of directly from GitHub
10 years ago
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.
10 years ago
Xavier Cambar
3cdec8e875
Testable install script
...
* wraps main code into a function
* EnvVar-based install start
* Clean environment after install
10 years ago
Jordan Harband
cec1c38a84
Move sourcing tests to a separate test suite.
10 years ago
Jordan Harband
ad604cc068
Only run the "installation" tests both with and without curl.
11 years ago