1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-01 09:13:54 +00:00
starship/ci/setup-test-env.yml

33 lines
946 B
YAML
Raw Normal View History

steps:
# Install Node.js
- task: NodeTool@0
inputs:
versionSpec: "12.0.0"
displayName: "Install a fixed version of Node"
2019-08-13 22:43:29 +00:00
# Install Go
- task: GoTool@0
inputs:
versionSpec: "1.10"
displayName: "Install a fixed version of Go"
2019-07-19 19:56:36 +00:00
2019-08-13 22:43:29 +00:00
# Install Ruby
- task: UseRubyVersion@0
inputs:
versionSpec: "2.5.5"
displayName: "Install a fixed version of Ruby"
# We are using pyenv to install Python for integration tests
# Install Python
2019-07-19 19:56:36 +00:00
- script: |
echo "##vso[task.setvariable variable=PYTHON_VERSION;]3.6.9"
echo "##vso[task.setvariable variable=PYENV_ROOT;]$HOME/.pyenv"
- script: |
curl https://pyenv.run | bash
echo "##vso[task.setvariable variable=PATH;]$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH"
- script: |
eval "$(pyenv init -)"
pyenv install $PYTHON_VERSION
pyenv global $PYTHON_VERSION
displayName: "Install a fixed version of Python"