fail on error on initial installa of packages on travis. install npm implicitely only for travis
This commit is contained in:
parent
e561296133
commit
0200971dd8
1 changed files with 2 additions and 1 deletions
|
@ -1,11 +1,12 @@
|
|||
#!/bin/bash
|
||||
# detect if building inside a CI system, like Travis
|
||||
set -e
|
||||
echo "choosing totally noninteractive installation method"
|
||||
COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confnew\"";
|
||||
|
||||
curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash
|
||||
sudo apt-get update
|
||||
INSTALL_COMMAND="sudo $COMMAND_PREFIX install meld whois zsh tmux vim atop aria2 curl pv gajim tor torsocks nodejs npm terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar thunderbird mercurial kdiff3 gnupg2 python3-setuptools realpath"
|
||||
INSTALL_COMMAND="sudo $COMMAND_PREFIX install meld whois zsh tmux vim atop aria2 curl pv gajim tor torsocks nodejs terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar thunderbird mercurial kdiff3 gnupg2 python3-setuptools realpath"
|
||||
eval ${INSTALL_COMMAND}
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
|
Loading…
Reference in a new issue