updated .cirrus.yml

This commit is contained in:
Lorenzo Pichilli 2021-02-10 14:14:36 +01:00
parent 65d7d1c9b3
commit 635d54bbc1

View File

@ -67,11 +67,15 @@ task:
ABI: "x86"
container:
image: cirrusci/flutter:latest
cpu: 4
memory: 10G
kvm: true
install_node_script:
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
- export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
- $NVM_DIR/nvm.sh install node
- export NVM_DIR="$HOME/.nvm"
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
- [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
- nvm install node
- cd ./nodejs_server_test_auth_basic_and_ssl
- npm install
upgrade_script: