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

Commit 96af8d2

Browse files
committed
add codeclimate tslint beta + fix previous commit to remove phantomjs
1 parent 222abc0 commit 96af8d2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.codeclimate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
engines:
22
eslint:
33
enabled: true
4+
tslint:
5+
enabled: true
6+
channel: beta
47
fixme:
58
enabled: true
69
config:

config/karma.conf.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,20 @@ function getBrowsers() {
4141
if (process.env.CI) {
4242
if (process.env.APPVEYOR) { // variable defined by APPVEYOR itself
4343
// only for AppVeyor
44-
return ['Chrome', 'Firefox'/*, 'IE'*/];
44+
return ['Chrome', 'Firefox' /*, 'IE'*/];
4545
} else if (process.env.TRAVIS) { // variable defined by TRAVIS itself
46-
return ['PhantomJS', 'Chrome', 'Firefox'];
46+
return ['ChromeHeadless', 'Chrome', 'Firefox'];
4747
} else if (process.env.CIRCLECI) { // variable defined by CIRCLECI itself
48-
return ['PhantomJS', 'Chrome', 'Firefox'];
48+
return ['ChromeHeadless', 'Chrome', 'Firefox'];
4949
}
5050
} else {
5151
switch(os.platform()) {
5252
case 'win32': // Windows
5353
return ['ChromeHeadless', 'Chrome', 'Firefox' /*'IE'*/];
5454
case 'darwin': // macOS
55-
return ['PhantomJS', 'Chrome', 'Firefox'/*, 'Safari'*/];
55+
return ['ChromeHeadless', 'Chrome', 'Firefox'/*, 'Safari'*/];
5656
default: // other (linux, freebsd, openbsd, sunos, aix)
57-
return ['PhantomJS', 'Chrome', 'Firefox'];
57+
return ['ChromeHeadless', 'Chrome', 'Firefox'];
5858
}
5959
}
6060
}

0 commit comments

Comments
 (0)