Fix failing travis build (apt-get update missing)

This commit is contained in:
sfan5 2016-04-15 21:55:27 +02:00
parent 9b4d6a72e2
commit 464afcb3e9
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/bash -e
if [ $CC = "clang" ]; then
export PATH="/usr/bin/:$PATH"
sudo sh -c 'echo "deb http://ppa.launchpad.net/eudoxos/llvm-3.1/ubuntu precise main" >> /etc/apt/sources.list'
@ -9,6 +10,7 @@ if [ $CC = "clang" ]; then
sudo apt-get install clang
fi
sudo apt-get update
sudo apt-get install cmake libgd2-noxpm-dev libsqlite3-dev \
p7zip-full