try fix travis

This commit is contained in:
Eric Vergnaud 2020-10-04 00:42:34 +08:00
parent 292811ce81
commit 0536e72504
2 changed files with 3 additions and 16 deletions

View File

@ -2,9 +2,6 @@ sudo: true
language: java
node_js:
- 14
before_cache:
- rm -rf $HOME/.m2/repository/org/antlr
cache:

View File

@ -2,17 +2,7 @@
set -euo pipefail
sudo apt-get update -qq
## download and install nodejs
#curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
#sudo apt-get install -qq nodejs
#
## download and install nvm
#curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | sudo -E bash -
#export NVM_DIR="$HOME/.nvm"
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
#
## use v14 and check
#sudo nvm use 14
# use v14 and check
nvm install 14
nvm use 14
node --version