Permalink
Browse files

fix coveralls in makefile

  • Loading branch information...
XadillaX committed Oct 23, 2015
1 parent 7458203 commit aa902816284e831b00e3749a9f76910019c3cf88
Showing with 9 additions and 4 deletions.
  1. +7 −2 .travis.yml
  2. +2 −2 Makefile
@@ -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:
@@ -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
@@ -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

0 comments on commit aa90281

Please sign in to comment.