Skip to content

Commit

Permalink
Updated grunt test task to run linting only (#907)
Browse files Browse the repository at this point in the history
* Updated grunt test task to run linting only

* removed old code comment

* removed grunt install script
  • Loading branch information
ericschv authored and gideonthomas committed Dec 17, 2017
1 parent 1c2c079 commit 21e91f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ language: node_js
sudo: false # use container-based Travis infrastructure
node_js:
- "6"
before_script:
- npm install -g grunt-cli
script: grunt build-browser-compressed
branches:
only:
- master
Expand All @@ -21,6 +18,8 @@ addons:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_deploy:
- npm run preproduction
deploy:
- provider: s3
access_key_id: AKIAI7XHSZFYVHFRTRIA
Expand Down
3 changes: 1 addition & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,7 @@ module.exports = function (grunt) {
grunt.registerTask('install', ['write-config', 'less', 'npm-install-source']);

// task: test
grunt.registerTask('test', ['eslint', 'jasmine', 'nls-check']);
// grunt.registerTask('test', ['eslint', 'jasmine', 'jasmine_node', 'nls-check']);
grunt.registerTask('test', ['eslint']);

// task: set-release
// Update version number in package.json and rewrite src/config.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"build": "grunt build-browser",
"preproduction": "grunt build-browser-compressed && npm run unlocalize",
"production": "npm start -- --gzip",
"test": "grunt test && grunt build-browser-compressed",
"test": "grunt test",
"server": "http-server -p 8000 --cors",
"prestart": "npm run localize && grunt build-browser-dev",
"start": "npm run server || true",
Expand Down

0 comments on commit 21e91f1

Please sign in to comment.