Skip to content

Commit a8213bc

Browse files
mmollxalopp
authored andcommitted
use new codecov uploader
1 parent 6a49706 commit a8213bc

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,17 @@ jobs:
8181
- vendor/bin/phpstan analyse --no-progress # Run PHPStan
8282

8383
after_success:
84-
- curl -s https://codecov.io/bash | bash
84+
- |
85+
if [ "${TRAVIS_PHP_VERSION}" == "7.4" ] && [ "${DEPENDENCIES}" = "highest" ]; then
86+
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --import &&
87+
curl -Os https://uploader.codecov.io/latest/linux/codecov &&
88+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM &&
89+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig &&
90+
gpg --verify codecov.SHA256SUM.sig codecov.SHA256SUM &&
91+
shasum -a 256 -c codecov.SHA256SUM &&
92+
chmod +x codecov &&
93+
./codecov -t ${CODECOV_TOKEN}
94+
fi
8595
8696
notifications:
8797
slack:

0 commit comments

Comments
 (0)