Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Hong Ooi 2019-08-06 03:30:33 +10:00
Родитель 45a6bc2854
Коммит e532eb7e7c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -9,13 +9,13 @@ variables:
pool:
vmImage: 'ubuntu-latest'
container: rocker/r-base:latest
container: rocker/rstudio:latest
steps:
- script: |
echo 'options(repos = "https://cloud.r-project.org")' > ~/.Rprofile
echo ${R_LIBS_USER}
mkdir -p ${R_LIBS_USER}
sudo apt-get update && sudo apt-get install -y libxml2-dev libssl-dev git-core
displayName: 'Setup R library directory'
- bash: 'git push --prune https://$(ghPat)@github.com/cloudyr/AzureVMmetadata +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/*'
displayName: 'Copying to cloudyr'