travis: Don't break the build when apt-get update fails

This commit is contained in:
Stein Magnus Jodal 2012-11-08 23:23:55 +01:00
parent c23baf859e
commit 515bc450d6

View File

@ -3,7 +3,7 @@ language: python
install:
- "wget -q -O - http://apt.mopidy.com/mopidy.gpg | sudo apt-key add -"
- "sudo wget -q -O /etc/apt/sources.list.d/mopidy.list http://apt.mopidy.com/mopidy.list"
- "sudo apt-get update"
- "sudo apt-get update || true"
- "sudo apt-get install $(apt-cache depends mopidy | awk '$2 !~ /mopidy/ {print $2}')"
before_script: