Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit dfd864c

Browse files
author
jacobawenger
committed
Fixed improper use of npm test
1 parent 410663d commit dfd864c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ before_script:
1313
- phantomjs --version
1414
- casperjs --version
1515
script:
16-
- npm test
16+
- npm run travis
1717
env:
1818
global:
1919
- secure: mGHp1rQI11OvbBQn3PnBT5kuyo26gFl8U+nNq0Ot4opgSBX9JaHqS8Dx63uALWWU9qjy08/Mn68t/sKhayH1+XrPDIenOy/XEkkSAG60qAAowD9dRo3WaIMSOcWWYDeqdZOAWZ3LiXvjLO4Swagz5ejz7UtY/ws4CcTi2n/fp7c=

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ module.exports = function(grunt) {
137137
grunt.registerTask('test:manual', ['karma:manual']);
138138

139139
// Travis CI testing
140-
grunt.registerTask('travis', ['build', 'test:unit', 'connect:testserver', 'protractor:saucelabs']);
140+
grunt.registerTask('test:travis', ['build', 'test:unit', 'connect:testserver', 'protractor:saucelabs']);
141141

142142
// Build tasks
143143
grunt.registerTask('build', ['concat', 'jshint', 'uglify']);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@
5656
"karma-spec-reporter": "0.0.13"
5757
},
5858
"scripts": {
59-
"test": "grunt travis"
59+
"travis": "grunt test:travis"
6060
}
6161
}

0 commit comments

Comments
 (0)