sudo apt-get update -qq在travis 401中失败未授权
问题描述:
我想在travis CI中构建以下图像。但是,我获得401授权。它昨天正在工作,但今天正在工作。sudo apt-get update -qq在travis 401中失败未授权
language: c
sudo: required
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
- ./travis-tool.sh install_deps
script: ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change
答
看起来特拉维斯有它发布为突发事件 https://www.traviscistatus.com/incidents/77q4ts757mzs
其中在 https://github.com/travis-ci/travis-ci/issues/8607
指向一个临时的解决办法基本上添加
before_install:
- sudo rm -vf /etc/apt/sources.list.d/*riak*
- sudo apt-get update