travis-ci / travis-conditions

Boolean language for conditional builds, stages, jobs
MIT License
20 stars 4 forks source link

Parse env var strings containing multiple key/value pairs #6

Closed svenfuchs closed 6 years ago

svenfuchs commented 6 years ago

Env vars can be given as:

- FOO=foo BAR=bar

which should result in

{
  FOO: "foo",
  BAR: "bar"
}

This PR fixes the current behaviour that treats them as:

{
  FOO: "foo BAR=bar"
}