Skip to content

Commit 318027e

Browse files
committed
Merge pull request #910 from zaccolley/circle-ci-#908
feat(ci): add support for circle-ci
2 parents c836198 + e4715f7 commit 318027e

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

circle.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
machine:
2+
node:
3+
version: 4.0
4+
environment:
5+
CONTINUOUS_INTEGRATION: true
6+
7+
dependencies:
8+
cache_directories:
9+
- node_modules
10+
override:
11+
- npm prune && npm install
12+
13+
test:
14+
override:
15+
- npm run lint
16+
- npm test
17+
- npm run test-node

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = function (config) {
55

66
browsers: ['PhantomJS'],
77

8-
singleRun: !!process.env.CONTINUOUS_INTEGRATION,
8+
singleRun: !!process.env.CI,
99

1010
frameworks: [ 'mocha' ],
1111

0 commit comments

Comments
 (0)