Commit graph

51 commits

Author SHA1 Message Date
Pavel Djundik
ed8f4c6c57
Update next node version in travis 2019-10-17 16:17:26 +03:00
Pavel Djundik
4d34a837a5
Remove Windows/OSX builds from Travis 2019-10-17 16:15:45 +03:00
Pavel Djundik
5a94727d79 Bump minimum node version to v10 2019-09-04 22:50:25 +03:00
Pavel Djundik
4084ff2e93 Change build priority order in Travis 2019-02-16 20:22:17 +02:00
Pavel Djundik
b8dde41482 Bump minimum node version to 8 LTS 2019-01-29 10:44:19 +02:00
Pavel Djundik
ce87521b37
Bump Travis to use Node 10 LTS for Windows, OSX, and production builds 2019-01-28 17:35:42 +02:00
Jérémie Astori
7ebdb84a30
Keep using npm to clean up dist-tags after a stable release
- After deploy, `yarn tag` gets prompted for login, because npm login != yarn login
- When I tried to do it locally, `yarn tag remove thelounge next` consistently gave me a 404, but `npm dist-tag rm thelounge next` worked nbd.
2019-01-27 17:54:58 -05:00
Jérémie Astori
9434f87d66
Merge pull request #2877 from thelounge/astorije/node-11
Add Node.js v11 to the Travis CI matrix
2018-10-28 16:36:05 -04:00
Jérémie Astori
5269106198
Add Node.js v11 to the Travis CI matrix 2018-10-28 02:00:22 -04:00
Jérémie Astori
97ae79a6a3
Generate new secure entries for Travis deploy step to npm 2018-10-28 01:56:35 -04:00
Pavel Djundik
b8f0a4601c Enable macOS and Windows builds on Travis, remove AppVeyor config 2018-10-15 19:52:27 +03:00
Jérémie Astori
9035acd05d
Remove Node.js v9 from the Travis CI matrix
See https://github.com/nodejs/Release

To this day, Node.js v6 is in maintenance mode, v8 is an active LTS, and v10 is the current stable. v9 has been EOL since June.
2018-09-21 18:53:11 -04:00
Jérémie Astori
d83594daa4
Use a new npmjs token to publish through Travis
npmjs has invalidated all tokens recently, so I had to create a new one.

For the record (because it will happen again one day or another, and for the life of me I can never remember how to do it), the command I ran to encrypt this was:

```
travis encrypt ****************82f5 --add deploy.api_key -r thelounge/thelounge
```

Those last 4 characters should appear in Travis logs the next time we release, to confirm the encrypted value is correct.
2018-08-25 03:05:11 -04:00
Pavel Djundik
de70e0ab0a Pass --frozen-lockfile to yarn in Travis builds 2018-05-24 16:44:41 +03:00
Pavel Djundik
67abcb03c2 Replace Greenkeeper with Renovate 2018-05-15 09:56:23 +03:00
Jérémie Astori
8618af2ee0 Run Travis CI against Node v10 2018-04-28 11:46:44 +03:00
Jérémie Astori
86474bd535
Revert "Exclude Node v9.9 from Travis build, for now" 2018-03-29 19:46:05 -04:00
Jérémie Astori
0a48b28d83
Exclude Node v9.9 from Travis build, for now 2018-03-25 17:23:00 -04:00
Pavel Djundik
59ec07be87
Update all links to thelounge repository 2018-02-21 22:47:52 -05:00
Pavel Djundik
f646fbbd4f Add yarn.lock, update CI services to run yarn 2018-02-20 11:28:14 +02:00
Jérémie Astori
4e63ef9764
After deploying a stable release, clean up the next tag 2018-02-20 00:59:47 -05:00
Jérémie Astori
288e8148fd
Tag npm releases with latest or next depending on stable/pre-release 2018-02-20 00:58:43 -05:00
Jérémie Astori
c432ee431d Switch to Node v6 as the oldest version we support
Removed a deprecation notice I added in an earlier commit (ef1c59072c).
2018-02-19 18:30:00 +02:00
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