Commit Graph

28 Commits

Author SHA1 Message Date
Jérémie Astori
843d34304e
Add Node V9 testing to Travis builds
But keep production builds with LTS v8, at least for now.
2017-11-01 02:16:21 -04:00
Pavel Djundik
da31317156 Skip cleanup on Travis 2017-09-27 10:39:12 +03:00
Al McKinlay
2cbf85cf4f Update node versions for travis 2017-05-31 09:49:39 +01:00
Jérémie Astori
c7e80006b9 Add an extra Travis CI job to make sure production build succeeds and passes tests 2017-01-23 01:15:50 -05:00
Jérémie Astori
552fa3fae8 Make and document npm run build now a mandatory step of the install/build setup
This has several reasons, benefits and consequences:

- When running on root (which is not recommended anyway), `npm run build` was already necessary.
- This allows to not use the `prepublish` hook, whose behavior is going to change in npm v5 and again in npm v6.
- This allows to create both production and development builds when running from source.
- It makes `npm run build` compatible with Windows again for development environments (lost in previous commit).
- It uses the `prepublishOnly` hook added in npm v4. Since this hook is not available prior to that, deployment to npm from Travis has to be done on the Node.js v7 environment.
2017-01-23 01:15:50 -05:00
Jérémie Astori
a9f692a2d3 Add Node.js v7, current stable, to Travis CI
We are seeing more and more people installing on Node v7 so it's important to ensure `npm install` will pass correctly and our (limited but growing) test suite as well.
2016-12-16 02:02:48 -05:00
Jérémie Astori
dec9a173bf Get rid of OSX CI builds until they get much faster
OSX builds have been nothing but a pain on Travis CI: they fail with no good reason, they stay pending forever, etc.

As far as I can tell, I can't remember one valid build they failed and we legitimately discovered a bug. Dev env on OSX is very close to Linux so it's good enough to have it here.
2016-10-20 01:40:20 -04:00
Jérémie Astori
6dac7b1897 Use CI caches for downloaded files instead of installed ones
This allows for a more meaningful build: if a newer version of a sub-package breaks,
builds would still pass as it uses the cached version. This uses a cache for downloaded packages instead.

I am expecting this to slow down a little bit the builds (but we are OK overall)
but be more accurate in practice.

See https://docs.npmjs.com/cli/cache#configuration and https://docs.npmjs.com/files/folders#node-modules.
2016-10-11 22:30:08 -04:00
Pavel Djundik
a381a978d0 Add OSX testing to travis, cache node_modules 2016-06-13 22:04:33 +03:00
William Boman
1d088de974 ci: remove extraneous scripts 2016-06-06 18:46:31 +02:00
Maxime Poulin
164b983f99
Always run all tests and test them each individually on travis 2016-05-08 02:24:10 -04:00
Pavel Djundik
d4e014c088 Update travis node versions 2016-04-27 10:40:24 +03:00
Pavel Djundik
fcdb8475ba Don't send an email on a successful build 2016-03-09 10:55:26 +02:00
Jérémie Astori
42a607d6d7 Remove Node 0.10 from Travis CI
This is needed for #43 to pass the CI.
2016-02-17 00:40:21 -05:00
Jérémie Astori
9a944e2f95 Update secrets in Travis CI, to fix the publication on npm 2016-02-12 07:54:20 +00:00
Jérémie Astori
dd4564e949 Add npm deployment step when a Travis CI build passes on a tag 2016-02-12 05:17:55 +00:00
Jérémie Astori
7e8f67a8c5 Add Travis CI configuration file 2016-02-12 04:49:33 +00:00
Jérémie Astori
74554c5355 Remove Travis CI configuration for now
Pretty much the entire file is invalid now and Travis CI has not been enabled here yet.
2016-02-10 06:20:05 +00:00
Jérémie Astori
4ae8248200 Use Node 0.12 to deploy as npm shipping with 0.10 is not compatible for deployment anymore... 2015-10-19 04:29:11 +00:00
Jérémie Astori
6b226335ed Fix wrong npm token 2015-10-19 04:24:38 +00:00
Jérémie Astori
a3680ce9ef Set up automatic deployments on npm
Travis CI will deploy on npm after a build is successful
2015-10-19 03:51:38 +00:00
Jérémie Astori
9532d1ff39 Add Node.js 4.2 to the list of versions tested by Travis CI 2015-10-19 03:42:47 +00:00
William Boman
679e27fd97 .travis.yml: remove before_script
This is no longer needed since introduction of test fixtures.
2015-10-02 14:44:40 +02:00
JocelynDelalande
044f69f02a Merge pull request #494 from floogulinc/patch-1
Migrate from legacy to container-based infrastructure on Travis
2015-10-02 12:52:26 +02:00
Paul Friederichsen
913b827c24 Enable container-based infrastructure on Travis 2015-09-29 09:07:55 -05:00
Jérémie Astori
d65f75c8b7 Add Node.js 0.12 and 4.x support to Travis CI 2015-09-28 21:50:03 +02:00
Christine Dodrill
c2e2e1c1e2 Fix #466: Have Travis CI create config folder 2015-09-16 23:04:26 +00:00
Mattias Erming
cf88a9dc36 Fix Travis CI errors 2015-02-06 05:43:19 -08:00