Help: environment variable "Bad substitution" error


I have a github repo ( that uses travis to check cromulence with R and upload coverage statistics to (

Sometime in the last month, an env variable that we use to trigger the build env to send the tests to codecov started thowing a “Bad substitution” error:

Can anyone help shed light on why this is happening?

Did this ever work for you? What you want is ${R_CODECOV} (with only one pair of curly braces).


I thought it did and now I realize that it stopped updating… when I changed the travis file :expressionless: