Skip to content

Commit

Permalink
fix coveralls in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
XadillaX committed Oct 23, 2015
1 parent 7458203 commit aa90281
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4.1"

service:
- mysql
- memcache

install:
- export CXX="g++-4.8" CXX="gcc-4.8"
- $CXX --version
- npm install -g istanbul
- npm install

addons:
apt:
sources:
Expand All @@ -20,5 +21,9 @@ addons:
- gcc-4.8
- g++-4.8
- clang

before_script: make before-test-travis

after_script: make test-coveralls

sudo: false
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ before-test-travis: install
memcached -p 11213 -d

test-coveralls: install
@NODE_ENV=test $(ISTANBUL) cover $(MOCHA) \
-t $(TIMEOUT) \
NODE_ENV=test $(ISTANBUL) cover $(MOCHA) \
--report lcovonly \
-- \
-t $(TIMEOUT) \
-R spec && cat ./coverage/lcov.info | \
\
$(COVERALLS) && rm -rf ./coverage
Expand Down

0 comments on commit aa90281

Please sign in to comment.