Skip to content
Snippets Groups Projects
Unverified Commit d63fd455 authored by Diego Sampaio's avatar Diego Sampaio
Browse files

Add lint to travis

parent 0f3fef8e
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,11 @@ install:
- export PATH="$HOME/.meteor:$PATH"
before_script:
- mkdir /tmp/build
- nvm install 4.4
- npm install
- npm run lint
script:
- nvm use 0.12
- meteor build /tmp/build
before_deploy:
- source ".travis/setartname.sh"
......
{
"name": "Rocket.Chat",
"scripts": {
"start": "meteor run",
"lint": "eslint .",
"deploy": "npm run build && pm2 startOrRestart pm2.json"
},
"devDependencies": {
"eslint": "^3.1.1"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment