Commit graph

23 commits

Author SHA1 Message Date
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