This repository was archived by the owner on May 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ branches:
29
29
install :
30
30
- npm install --global yarn
31
31
- yarn install
32
- - yarn global add codecov
33
32
- yarn global add webpack
34
33
script :
35
34
- yarn bootstrap
@@ -39,7 +38,10 @@ script:
39
38
- bash tasks/tsc.sh
40
39
- yarn build:web
41
40
after_success :
42
- - codecov
41
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then OS_NAME=macos ; else OS_NAME=$TRAVIS_OS_NAME ; fi
42
+ - curl -Os https://uploader.codecov.io/latest/$OS_NAME/codecov
43
+ - chmod +x codecov
44
+ - ./codecov -t ${CODECOV_TOKEN} -f coverage/coverage-final.json -Z
43
45
cache :
44
46
directories :
45
47
- " $HOME/.yarn-cache"
Original file line number Diff line number Diff line change 8
8
</div >
9
9
<hr />
10
10
11
- [ ![ Build Status] ( https://travis-ci.com/Zilliqa/zilliqa-js.svg?branch=dev )] ( https://travis-ci.com/Zilliqa/zilliqa-js ) [ ![ codecov] ( https://codecov.io/gh/Zilliqa/zilliqa-js/branch/feature/monorepo/ graph/badge.svg )] ( https://codecov.io/gh/Zilliqa/Zilliqa ) [ ![ Discord Chat] ( https://img.shields.io/discord/308323056592486420.svg )] ( https://discord.gg/XMRE9tt ) [ ![ lerna] ( https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg )] ( https://lerna.js.org/ )
11
+ [ ![ Build Status] ( https://travis-ci.com/Zilliqa/zilliqa-js.svg?branch=dev )] ( https://travis-ci.com/Zilliqa/zilliqa-js ) [ ![ codecov] ( https://codecov.io/gh/Zilliqa/zilliqa-js/branch/dev/ graph/badge.svg?token=3EupxbfA4Q )] ( https://codecov.io/gh/Zilliqa/zilliqa-js ) [ ![ Discord Chat] ( https://img.shields.io/discord/308323056592486420.svg )] ( https://discord.gg/XMRE9tt ) [ ![ lerna] ( https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg )] ( https://lerna.js.org/ )
12
12
13
13
## Introduction
14
14
Original file line number Diff line number Diff line change @@ -16,3 +16,5 @@ npx tsc ./index.ts --target es5 --noEmit \
16
16
--strict --skipLibCheck false
17
17
18
18
echo " PASS:tsc"
19
+
20
+ cd $HOME
You can’t perform that action at this time.
0 commit comments