Skip to content

Commit b0a8e8e

Browse files
committed
Only do coverage in Travis on unit tests
1 parent bea2743 commit b0a8e8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333
- ANDROID_EMU_ABI=armeabi-v7a
3434
- CC=gcc-4.9 CXX=g++-4.9
3535
matrix:
36-
- TEST=unit RECURSIVE=--recursive START_EMU=0
36+
- TEST=unit RECURSIVE=--recursive START_EMU=0 COVERALLS=1
3737
- TEST=functional
3838
- TEST=functional/bootstrap
3939
- TEST=functional/commands/keyboard
@@ -64,4 +64,4 @@ before_script:
6464
script:
6565
- npm run lint && npm run mocha -- -t $MOCHA_TIMEOUT $RECURSIVE build/test/$TEST -g @skip-ci -i
6666
after_success:
67-
- _FORCE_LOGS=0 npm run coverage
67+
- if [ ${COVERALLS} = "1" ]; then npm run coverage; fi

0 commit comments

Comments
 (0)