Commit Graph

78 Commits (1c8e59130f4c958e1eed530431049b1bde362951)

Author SHA1 Message Date
Refael Ackermann 924a175bd8
[Tests] update dist from trusty to xenial 2019-02-25 15:02:15 -05:00
Jordan Harband ad1110ef1a
[Tests] print out shellcheck version 2018-11-25 23:56:19 -08:00
Peter Dave Hello 22d32bede0 [New] Enable ccache on Travis CI to speed up compilation 2018-11-22 13:58:26 +08:00
Peter Dave Hello 7ff20855a2 [Tests] Integrate dockerfile_lint to test Dockerfile 2018-07-12 18:38:14 +08:00
Jordan Harband b111436fde
[Tests] test `nvm install-latest-npm` on io.js v2 2018-06-06 22:49:56 -07:00
Jordan Harband a26ab88478
[Tests] fix `nvm install-latest-npm` tests to fail properly 2018-04-24 22:23:44 -07:00
Jordan Harband 1f2a3234d2
[Tests] add `nvm install-latest-npm` tests for all node versions 2018-04-24 22:23:44 -07:00
Peter Dave Hello 0731003cfe
[New] Integrate eclint to test partial coding style 2018-02-26 02:29:38 +08:00
Peter Dave Hello 9c25a8f316 [Cleanup] Remove ghc related things in .travis.yml, cc #1619 2017-10-22 00:42:07 +08:00
Peter Dave Hello 73ad812215 Remove the manual ShellCheck install proecss on Travis CI 2017-09-29 00:22:43 +08:00
Jordan Harband 7b8af94fc9
[Tests] retry io.js test runs, since iojs.org is flaky. 2017-09-08 01:32:54 -07:00
Peter Dave Hello c3c2d350e9 [Tests] Fix cache for WITHOUT_CURL tests in Travis 2017-05-19 13:58:14 +08:00
Piper Chester 964c7b3115
[Docs] README.markdown → README.md 2017-04-08 09:19:15 -07:00
Peter Dave Hello 7aa3448259
[Tests] Add curl back when WITHOUT_CURL test done since cache needs it 2017-04-09 13:13:25 +08:00
Peter Dave Hello 229c7e6f0c [Tests] Test "make release" in Travis CI 2017-04-09 15:16:13 +08:00
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