diff --git a/.travis.yml b/.travis.yml index 5960012ad..9648f865c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ language: node_js +os: + - linux + - windows node_js: - "6" - "10" - - "stable" + - "node" before_script: - git config --global user.name 'Travis-CI' - git config --global user.email 'dummy@example.org' diff --git a/test.js b/test.js index d0ca25e55..0054a2419 100644 --- a/test.js +++ b/test.js @@ -710,13 +710,13 @@ describe('cli', function () { }) it('does not display `all staged files` without the --commit-all flag', function () { - let result = execCli() + const result = execCli() result.code.should.equal(0) result.stdout.should.not.match(/and all staged files/) }) it('does display `all staged files` if the --commit-all flag is passed', function () { - let result = execCli('--commit-all') + const result = execCli('--commit-all') result.code.should.equal(0) result.stdout.should.match(/and all staged files/) })