I have a line that is in my CircleCI 2.0 config.yml:
command: if ["3.5.3" == "system"] || pyenv versions --bare | grep -x -q '3.5.3'; then pyenv global version;else pyenv install --skip-existing 3.5.3 && pyenv global version && pyenv rehash && pip install virtualenv && pip install nose && pip install pep8 && pyenv rehash;fi
That now gives the following error:
/bin/bash: [3.5.3: command not found
pyenv: version `version' not installed
Exited with code 1
Any ideas on what to do? I believe it was generated automatically, as there is not a matching line in my 1.0 config. Thanks.