Docker: Install `cpp-coveralls` in Debian Stretch
@@ -76,6 +76,7 @@ RUN apt-get update \
valgrind \
ed \
dnsutils \
+ virtualenv \
&& rm -rf /var/lib/apt/lists/*
RUN cabal update && cabal install hspec QuickCheck
@@ -130,6 +131,16 @@ RUN mkdir -p "${SHFMT_PATH}" \
ENV PATH="${PATH}:home/jenkins/.local/bin"
RUN pip install cmake-format==0.4.3 pyyaml
+# Coveralls
+ENV COVERALLS_VIRTUALENV_PATH=/home/jenkins/coveralls
+RUN virtualenv "${COVERALLS_VIRTUALENV_PATH}" \
+ && cd "${COVERALLS_VIRTUALENV_PATH}" \
+ && . bin/activate \
+ && pip install "urllib3==1.22" \
+ && pip install cpp-coveralls \
+ && deactivate
+ENV PATH="${PATH}:${COVERALLS_VIRTUALENV_PATH}/bin"
+
# Handle Haskell dependencies
ENV HASKELL_SHARED_SANDBOX /home/jenkins/elektra-cabal-sandbox
RUN mkdir -p $HASKELL_SHARED_SANDBOX \
