Skip to content
This repository was archived by the owner on Sep 7, 2018. It is now read-only.

Commit 6df9b22

Browse files
committed
Remove global dependencies for Travis
1 parent d79b23c commit 6df9b22

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ node_js:
33
- "0.10"
44
install:
55
- npm install
6-
before_script:
7-
- npm install -g gulp
8-
- npm install -g bower
9-
- bower install
106
script:
11-
- gulp ci
12-
- cat ./coverage/lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js
7+
- npm test
8+
- cat ./coverage/lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ After cloning git repo run (from project root):
55

66
```
77
npm install
8-
bower install
9-
gulp
8+
npm run build
9+
npm run karma
1010
```

Gulpfile.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@ require('require-dir')('./gulp/');
99
* emulate ci locally
1010
*/
1111
gulp.task('default', function (done) {
12-
runSequence('ts-lint', 'ts-build', 'karma-ci-short', done);
12+
runSequence('ts', 'karma-ci-short', done);
1313
});
1414

1515
/*
1616
* ci
1717
*/
1818
gulp.task('ci', function (done) {
19-
runSequence(
20-
'ts',
21-
'karma-ci',
22-
done
23-
);
19+
runSequence('ts', 'karma-ci', done);
2420
});

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"scripts": {
1010
"postinstall": "bower install",
1111
"build": "gulp ts",
12-
"test": "gulp",
13-
"karma": "gulp karma-ci"
12+
"karma": "gulp karma-ci-short",
13+
"test": "gulp ci"
1414
},
1515
"keywords": [
1616
"TypeScript",

0 commit comments

Comments
 (0)