Commit graph

29 commits

Author SHA1 Message Date
Ray Schamp
bfde3f476c Specify Node 8 in build stages 2018-05-08 19:38:05 -04:00
Ray Schamp
4dca1b29aa Don't use NODE_ENV=production for the matrix
This is something we want enabled for all builds, so it should be a global. This should simplify the matrix. The builds without an NPM_SCRIPT didn't do anything anyway.
2018-05-08 19:37:09 -04:00
Ray Schamp
a12e4dfbae Update Travis Node to 8
The peer dependency fix seemed to work, but we want to be up to 8 on all our repos anyway so do that.
2018-05-08 19:36:01 -04:00
Ray Schamp
c705be4cfa Update expose-loader dependency instead
It doesn't make sense that webpack 4 has made Node 6 builds. Maybe it's due to peer dependencies on the install step?
2018-05-08 19:27:26 -04:00
Ray Schamp
6da5da7c38 Bump Travis to Node 8
Tests fail otherwise, with the new version of webpack?
2018-05-08 18:53:36 -04:00
Ray Schamp
fc1a5ffc7d Reorder NPM deploy to first position
I think this should fix the odd "0.1.0-prerelease.####-prerelease.#####" version numbers.
2018-04-06 10:13:29 -04:00
Paul Kaplan
d83f32c578 Use production=false in install step 2017-11-17 11:48:22 -05:00
Paul Kaplan
a036564a60 Add node env to travis 2017-11-17 10:06:38 -05:00
Ray Schamp
e0e10b61c5 Finish configuring npm deploy
More followup fixes on #567, wasn't possible to test npm deployments really.
2017-07-19 13:48:55 -04:00
Ray Schamp
7eae7e1957 Build the vm so we can deploy it
Whoops.

Also move the git deploy setup to before_deploy.
2017-07-19 12:04:22 -04:00
Ray Schamp
55d0b2650c Convert multi-entry script to single scalar
Multi-entries aren't supported
https://docs.travis-ci.com/user/deployment/script
2017-07-19 11:54:51 -04:00
Ray Schamp
0e11ff1c23 Fix provider 'on' key being converted to 'true' 2017-07-19 10:28:54 -04:00
Ray Schamp
e173a0ae2c Fix NPM_SCRIPT vars 2017-06-27 09:28:56 -04:00
Ray Schamp
3f53c3fd5c Allow condition alone to control release 2017-06-27 09:28:56 -04:00
Ray Schamp
28dae39ddd Use stages instead of travis-after-all
Also, parallelize tap tests
2017-06-27 09:26:40 -04:00
Ray Schamp
7dc9fad41e Update to Node 6 LTS 2017-04-17 20:03:28 -04:00
Ray Schamp
2569baaa59 Fix "stable" specifier for Travis
This shorthand has become unrecognized, so match the docs suggestion of "node" for the most recent stable release.
2016-12-21 09:20:18 -05:00
Ray Schamp
fa0918b592 Prevent npm from outputting repo URL 2016-10-18 12:56:53 -04:00
Ray Schamp
1b9f9e63d6 Fix scratch-* dependency versions for npm update
The issues:
* The scratch-blocks@0.1.0 version exists because I accidentally published 0.1.0 (no -prerelease modifier) while setting up NPM
* I added a step that causes Travis to run `npm update` after installing
* The "0.1.0-prepublish" dependency version makes no sense

This made Travis install the old version of scratch-blocks that I published accidentally, which breaks the playground.
2016-10-18 12:00:52 -04:00
Ray Schamp
2abfe25d6d Fix gh-pages commit messages
Don't output full logs, just the commit that the build is for. And use the author, not the committer, since GitHub is almost always the committer on develop.
2016-10-18 10:16:34 -04:00
Andrew Sliwinski
80fa2d5a58 Resolve merge conflicts 2016-10-17 10:50:24 -04:00
Ray Schamp
95dc6d38b3 Update packages after installing
This is the less hacky way to keep scratch-* packages up to date (and any others in the future).  This is only necessary because we cache the node_modules directory.
2016-10-17 09:38:41 -04:00
Andrew Sliwinski
6cd9697bed Add secure environment var for coveralls. Re GH-103 2016-10-04 15:21:55 -04:00
Ray Schamp
5b3fe7ee1b Ensure scratch-* dependencies are up to date
With node_modules cached, npm install sees the scratch-* dependencies satisfied (since if any version 0.1.0-prepublish.x satisfies ^0.1.0-prepublish).  So remove these before the install step to ensure the latest version is installed.
2016-10-03 11:35:13 -04:00
Ray Schamp
e31fc19a50 Update version format
-prerelease.[timestamp] is semver friendly. Move SHA info to package.json.
2016-09-27 09:20:55 -04:00
Ray Schamp
e9cb0a5102 Add explanatory comments 2016-09-26 09:42:53 -04:00
Ray Schamp
7eb2e58a38 Publish to NPM
Authenticate with NPM via .npmrc and publish the package version + "-[git sha]".

Remove vm and vm.min.js, they'll be built before the package is published to NPM and available on installation. When installing from git, the build step will run on npm install.
2016-09-26 09:42:53 -04:00
Ray Schamp
89f751e651 Publish playground to gh-pages 2016-09-26 09:42:53 -04:00
Andrew Sliwinski
14b92f8a99 Add travis config 2016-04-18 17:22:23 -04:00