Skip to content

Commit d0fe67c

Browse files
authored
Update .travis.yml
1 parent 891af53 commit d0fe67c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,18 @@ before_install:
1616
echo "Only docs were updated, stopping build process."
1717
exit
1818
fi
19-
npm install [email protected] -g
20-
phantomjs --version
2119
script:
2220
- |
2321
if [ "$TEST_TYPE" = test ]; then
24-
npm test
22+
npm test -- --coverage && \
23+
bash <(curl -s https://codecov.io/bash)
2524
else
2625
npm run $TEST_TYPE
2726
fi
2827
env:
2928
matrix:
3029
- TEST_TYPE=lint
3130
- TEST_TYPE=test
32-
- TEST_TYPE=coverage
33-
3431

3532
matrix:
3633
allow_failures:

0 commit comments

Comments
 (0)