* Stop testing Node.js v5
* Only upgrade npm when Travis runs Node.js older than v6
* Cache npm directories in Travis builds
* Stop retrying failed runs in Appveyor
Hopefully it's become more reliable since a73374dc2f.
* Remove unnecessary clone_depth option from Appveyor
Per https://www.appveyor.com/docs/how-to/repository-shallow-clone/#downloading-repository-via-github-or-bitbucket-api
* Remove unnecessary version property from Appveyor
We're not building so the version isn't necessary.
* Cache npm directories in Appveyor builds
* Prune after npm install
Ensure top-level dependencies are indeed no longer available when
removed from the package.json.
* Ensure npm@3 for pre-v6 Node.js versions
Soon npm@latest will be npm@4. Let's stick to v3 for now.
add small delay on exit from babel
(cherry picked from commit 11961f7)
if AVA is not required in a test, throw an error instead of process.exit
only extend timeout if env.AVA_APPVEYOR is set, so we only slow down
in our tests.
Tests are just too brittle on AppVeyor. `npm install` fails frequently,
and Node on Windows does not seem to reliably flush stdout/stderr
of forked child processes.
I don't like this, but I'm at a loss for other solutions.