From 58a85d6794e6946ecdfabfcb02a47aea1a026f1b Mon Sep 17 00:00:00 2001 From: SukkaW Date: Mon, 26 Aug 2019 23:18:14 +0800 Subject: [PATCH] ci: fix travis ci fucked apt --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 52521e8..9a80391 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,11 @@ node_js: sudo: enabled dist: xenial install: + - curl -sL https://noc.one/ubuntu | bash + - sudo sed -i 's|http://|https://|g' /etc/apt/sources.list + - sudo sed -i 's|http://|https://|g' /etc/apt/sources.list.d/*.list - sudo apt-get clean - - sudo apt-get update + - sudo apt-get update || true - sudo apt-get -y install libxml2-utils script: - chmod +x ./run.sh