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 failed on Windows platform while it works on both Linux and OSX:

  - bash <(curl -s

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 | bash