From a68486271417c5d596be5c655517952b6ba1055c Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 20 Aug 2019 21:49:57 +0200 Subject: [PATCH] enable multi-os travis --- .eslintrc | 2 +- .gitattributes | 1 + .travis.yml | 9 +++++++-- package.json | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .gitattributes diff --git a/.eslintrc b/.eslintrc index 3487193..72c1d0e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,2 +1,2 @@ root: true -extends: eslint-config-silverwind +extends: silverwind diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6313b56 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.travis.yml b/.travis.yml index fc15089..d4b78bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,9 @@ language: node_js node_js: - - node - - lts/* + - 8 + - 10 + - 12 +os: + - linux + - osx + - windows diff --git a/package.json b/package.json index 93d0fc6..c0333f5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "node": ">=8" }, "scripts": { - "test": "make test" + "test": "npx eslint --color --quiet *.js && node --trace-deprecation --throw-deprecation test.js" }, "keywords": [ "dependencies",