Failed to run bash on Windows

I am trying to add Windows support to my travisCI code coverage report, yet the command that sends data to codecov.io failed on Windows platform while it works on both Linux and OSX:

after_success:
  - bash <(curl -s https://codecov.io/bash)

and it showed this:

bash: /dev/fd/63: No such file or directory

I know that you can’t run bash scripts on Windows directly, but I want to know what commands I should add in .travis.yml to make the bash cmd work?

Try it this way to avoid the incompatible process substitution syntax:

curl -s https://codecov.io/bash | bash
Imprint