created travis: npm run lint and npm run build

master
Will Roberts 8 years ago
parent 0a6ca78bc8
commit 912ac83314
  1. 3
      {{cookiecutter.app_name}}/.eslintrc
  2. 11
      {{cookiecutter.app_name}}/.travis.yml

@ -15,6 +15,7 @@
},
"globals": {
"__dirname": true,
"jQuery": true
"jQuery": true,
"$": true
}
}

@ -8,6 +8,13 @@ python:
- 3.4
- 3.5
- 3.6
install: pip install -r requirements/dev.txt
before_script: flask lint
install:
- pip install -r requirements/dev.txt
- nvm install 6.10
- nvm use 6.10
- npm install
before_script:
- npm run lint
- npm run build
- flask lint
script: flask test

Loading…
Cancel
Save