Enable clazy on travis

This commit is contained in:
Matthias Kuhn 2019-11-03 23:27:14 +01:00
parent aa9134545a
commit b7a335916c
2 changed files with 10 additions and 1 deletions

View File

@ -12,7 +12,7 @@ LABEL Description="Docker container with QGIS" Vendor="QGIS.org" Version="1.1"
ARG BUILD_TIMEOUT=360000
ARG CC=/usr/lib/ccache/clang
ARG CXX=/usr/lib/ccache/clang++
ARG CXX=/usr/lib/ccache/clazy
ENV LANG=C.UTF-8
COPY . /QGIS

View File

@ -146,6 +146,15 @@ RUN echo "alias python=python3" >> ~/.bash_aliases
RUN curl -k https://www.orfeo-toolbox.org/packages/OTB-7.0.0-Linux64.run -o /tmp/OTB-Linux64.run && sh /tmp/OTB-Linux64.run --target /opt/otb
ENV OTB_INSTALL_DIR=/opt/otb
# Clazy
RUN curl -k https://downloads.kdab.com/clazy/1.6/Clazy-x86_64-1.6.AppImage -o /tmp/Clazy.AppImage \
&& chmod +x /tmp/Clazy.AppImage \
&& mkdir /opt/clazy \
&& cd /opt/clazy \
&& /tmp/Clazy.AppImage --appimage-extract \
&& ln -s /opt/clazy/squashfs-root/AppRun /bin/clazy \
&& ln -s /bin/clazy /usr/lib/ccache/clazy
ENV QT_SELECT=5
ENV LANG=C.UTF-8
ENV PATH="/usr/local/bin:${PATH}"