Skip to content

Instantly share code, notes, and snippets.

@navix
Forked from ronapelbaum/.travis.yml
Created December 11, 2017 10:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save navix/3143f785d40f33ca719f04710b18f4a7 to your computer and use it in GitHub Desktop.
Save navix/3143f785d40f33ca719f04710b18f4a7 to your computer and use it in GitHub Desktop.
How to run ESLint in you travis CI
language: node_js
node_js:
- "6"
script:
- npm run lint
- npm run build
- npm test
{
...
"scripts": {
"lint": "./node_modules/.bin/eslint **/*.js",
"build": "...",
"test": "..."
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment