antlr/.travis/before-install-linux-javasc...

10 lines
279 B
Bash
Raw Normal View History

2016-11-28 01:36:46 +08:00
#!/bin/bash
set -euo pipefail
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt-get update -qq
2017-02-19 12:20:43 +08:00
curl -sL https://deb.nodesource.com/setup_0.12 | sudo -E bash -
2016-11-28 01:36:46 +08:00
sudo apt-get install -qq nodejs
2017-02-19 13:19:56 +08:00
node --version