[travis] remove unused sources (#3701)

This commit removes unused sources from apt update list to avoid fetch
failures.
This commit is contained in:
Yakun Xu
2019-03-21 08:21:18 -07:00
committed by Jonathan Hui
parent 4f734fa24f
commit e3d0368070
+1
View File
@@ -37,6 +37,7 @@ set -x
cd /tmp || die
[ $TRAVIS_OS_NAME != linux ] || {
(cd /etc/apt/sources.list.d && sudo rm -rf cassandra.list* couchdb.list* mongodb-3.4.list* rabbitmq_rabbitmq-server.list* chris-lea-redis-server.list* github_git-lfs.list*)
sudo apt-get update || die
[ $BUILD_TARGET != posix-distcheck -a $BUILD_TARGET != posix-32-bit -a $BUILD_TARGET != posix-app-cli -a $BUILD_TARGET != posix-mtd -a $BUILD_TARGET != posix-ncp -a $BUILD_TARGET != posix-app-ncp ] || {