From e97032201379584978088078f74b4729944961f8 Mon Sep 17 00:00:00 2001 From: sttk Date: Mon, 21 Sep 2020 17:14:38 +0900 Subject: [PATCH] Test: Run coveralls when nodejs >= 6 because of its supports --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ee8c098..eaa1c0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,10 @@ node_js: - '0.12' - '0.10' -after_success: 'npm run coveralls' +after_success: + - if [ $(echo "${TRAVIS_NODE_VERSION}" | cut -d'.' -f1) -ge 6 ]; then + npm run coveralls; + fi os: - linux