Help: environment variable "Bad substitution" error

Hello,

I have a github repo (https://github.com/reconhub/incidence) that uses travis to check cromulence with R and upload coverage statistics to codecov.io (https://codecov.io/gh/reconhub/incidence).

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: https://travis-ci.org/reconhub/incidence/jobs/477198052#L1242

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).

:flushed:

I thought it did and now I realize that it stopped updating… when I changed the travis file :expressionless: https://github.com/reconhub/incidence/commit/69a687f72c7ddbafd311e60f2d9104e0f8315e8b