Skip to content

Commit

Permalink
CMS-652: Add js linting to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy Negometyanov committed Nov 11, 2015
1 parent 12d4dee commit 2cf634b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ python:
- 3.3
- 3.4

sudo: false
sudo: true

before_install:
- sudo apt-get update
- sudo apt-get install nodejs npm

install:
- ./.travis_setup
Expand All @@ -22,7 +26,12 @@ env:
- DJANGO="Django>=1.8,<1.9" EASY_THUMBNAILS="easy-thumbnails>2.0" CUSTOM_IMAGE="filer.test_utils.custom_image.models.Image"
- DJANGO="https://github.com/django/django/archive/master.zip" EASY_THUMBNAILS="easy-thumbnails>2.0"

script: coverage run --rcfile=coverage.rc test_settings.py
before_script:
- npm install

script:
- coverage run --rcfile=coverage.rc test_settings.py
- gulp ci

after_success:
- coveralls --config_file=coverage.rc
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ gulp.task('lint:watch', function () {

gulp.task('compile', ['scss']);
gulp.task('watch', ['scss:watch', 'lint:watch']);
gulp.task('ci', ['lint']);

0 comments on commit 2cf634b

Please sign in to comment.