Skip to content

Commit

Permalink
chore: add node 8 to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Aug 5, 2019
1 parent 574e08c commit ffaf61a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: node_js
node_js:
- 6
- 8

notifications:
email:
Expand Down
2 changes: 1 addition & 1 deletion test/optimizeImage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe('hexo-image-minifier', () => {
return promise.then(() => {
for (const file of fixtures) {
if (targetFile.indexOf(path.extname(file)) !== -1
&& micromatch.isMatch(file, exclude, { nocase: true, basename: true })) {
&& !micromatch.isMatch(file, exclude, { nocase: true, basename: true })) {
expect(hexoRoute.buffer[file]).to.be.ok;
expect(fileSize[file]).to.be.greaterThan(hexoRoute.buffer[file].length);
} else {
Expand Down

0 comments on commit ffaf61a

Please sign in to comment.