Commit fbb09272 authored by Alberto Mardegan's avatar Alberto Mardegan Committed by Alberto Mardegan

CI: wrap lines, instead of invoking apt multiple times

parent 3fcf390f
...@@ -12,9 +12,11 @@ stages: ...@@ -12,9 +12,11 @@ stages:
before_script: before_script:
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR - export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
- apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y pkg-config libopencv-imgproc-dev libopencv-objdetect-dev - |
- apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y sqlite3 lcov gcovr apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y \
- apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y wget pkg-config libopencv-imgproc-dev libopencv-objdetect-dev \
sqlite3 lcov gcovr \
wget
build_dependencies: build_dependencies:
stage: deps stage: deps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment