Maybe make apt cache better?
This commit is contained in:
parent
82f0b24c42
commit
cbaf10d7e7
|
@ -4,7 +4,7 @@ sudo: require
|
||||||
dist: xenial
|
dist: xenial
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- $TRAVIS_BUILD_DIR/apt-cache/
|
- /var/cache/apt/archives
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir -p $TRAVIS_BUILD_DIR/apt-cache/
|
- mkdir -p $TRAVIS_BUILD_DIR/apt-cache/
|
||||||
|
@ -12,7 +12,7 @@ before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get -o dir::cache::archives="$TRAVIS_BUILD_DIR/apt-cache" -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libavcodec-dev libavcodec-extra libgl1-mesa-dev
|
- sudo apt-get -y install libmpv-dev qt511-meta-minimal qt511quickcontrols qt511quickcontrols2 qt511imageformats qt511svg libavcodec-dev libavcodec-extra libgl1-mesa-dev
|
||||||
- source /opt/qt*/bin/qt*-env.sh
|
- source /opt/qt*/bin/qt*-env.sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue