Exit travis-install script on error

This commit is contained in:
Ben Firshman 2014-01-11 14:13:38 +00:00
parent 38008a87e8
commit c6efb45585
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -e
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
sudo apt-get update