diff --git a/.travis.yml b/.travis.yml index 2f8ac2c..d9d7da0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ os: - linux - osx + - windows language: node_js node_js: - '11' diff --git a/readme.md b/readme.md index 861ebc1..371909b 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ > Move files and folders to the trash -[![Build Status](https://travis-ci.com/sindresorhus/trash.svg?branch=master)](https://travis-ci.com/sindresorhus/trash) +[![Build Status](https://travis-ci.org/sindresorhus/trash.svg?branch=master)](https://travis-ci.org/sindresorhus/trash) Works on macOS, Linux, and Windows. diff --git a/test.js b/test.js index 138dae5..569c7a4 100644 --- a/test.js +++ b/test.js @@ -48,7 +48,9 @@ test('glob', async t => { }); test('no glob', async t => { - fs.writeFileSync('fixture-noglob*.js', ''); + if (process.platform !== 'win32') { + fs.writeFileSync('fixture-noglob*.js', ''); + } fs.writeFileSync('fixture-noglob1.js', ''); await trash(['fixture-noglob*.js'], {glob: false});