diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..6313b56c --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf diff --git a/.travis.yml b/.travis.yml index 3cb05cee..a007104f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,10 @@ sudo: false +os: + - linux + - osx + - windows + language: node_js node_js: - "6.0.0" @@ -12,6 +17,17 @@ env: - ESLINT_VERSION=4 - ESLINT_VERSION=5 +matrix: + exclude: + # ESLint 5 supports Node.js 6.14.0 and up. + - node_js: "6.0.0" + env: ESLINT_VERSION=5 + # Reduce build jobs. + - os: osx + env: ESLINT_VERSION=4 + - os: windows + env: ESLINT_VERSION=4 + before_script: - npm i --no-save async - npm i --no-save eslint@$ESLINT_VERSION; true