mirror of
https://github.com/shelljs/shelljs.git
synced 2026-02-01 16:56:47 +00:00
* feat(options): initial support for long options This adds initial support for long options. This integration tests them with `shell.touch()` and unit tests them in `test/common.js`. This documents the new syntax. This also refactors some of the common internals: * Creates a new CommandError type to replace the `'earlyExit'` hack * Clearer Error types for `parseOptions()` exceptions * Removes side effects from a test which modifies `common.config` * Fixes appveyor and travis config to run lint (regressed in #920) Issue #924 Test: touch.js, common.js * small refactor for errorOptions
26 lines
457 B
YAML
26 lines
457 B
YAML
language: node_js
|
|
sudo: false
|
|
node_js:
|
|
- 6
|
|
- 7
|
|
- 8
|
|
- 9
|
|
- 10
|
|
- 11
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
script:
|
|
- npm run test-with-coverage
|
|
- npm run lint
|
|
# make sure when the docs are generated nothing changes (a.k.a. the docs have already been generated)
|
|
- npm run gendocs
|
|
- npm run check-node-support
|
|
- npm run after-travis "Make sure to generate docs!"
|
|
after_success:
|
|
- npm run codecov -- -f coverage/lcov.info
|
|
|
|
notifications:
|
|
email: false
|