Skip to content

Commit

Permalink
travis: codecov is now in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans committed Aug 8, 2017
1 parent c3a83b1 commit dc018c7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,16 @@ RUN ccache -s
RUN if [ ${DOXYGEN} ]; then \
make doxygen; \
python -m coverxygen --xml-dir share/doc/xml/ --src-dir .. --output doxygen.coverage.info; \
wget -O codecov.sh https://codecov.io/bash; \
bash codecov.sh -R ${PWD}/../${TRAVIS_REPO_SLUG#*/} -F doxygen -X gcov -f doxygen.coverage.info; \
codecov -R ${PWD}/../${TRAVIS_REPO_SLUG#*/} -F doxygen -X gcov -f doxygen.coverage.info; \
rm -f doxygen.coverage.info codecov.sh; \
fi
RUN if [ ${TESTING} = ON ]; then make test CTEST_OUTPUT_ON_FAILURE=1 ARGS="${TESTOPTS}"; fi
RUN make install DESTDIR=${PWD}/install && rm -rf ${PWD}/install
RUN if [ ${COVERAGE} ]; then \
wget -O codecov.sh https://codecov.io/bash; \
if [ ${CC} = clang ]; then \
bash codecov.sh -R ${PWD}/../${TRAVIS_REPO_SLUG#*/} -F "${CC}" -x "llvm-cov gcov"; \
codecov -R ${PWD}/../${TRAVIS_REPO_SLUG#*/} -F "${CC}" -x "llvm-cov gcov"; \
else \
bash codecov.sh -R ${PWD}/../${TRAVIS_REPO_SLUG#*/} -F "${CC}"; \
codecov -R ${PWD}/../${TRAVIS_REPO_SLUG#*/} -F "${CC}"; \
fi; \
fi
USER root
Expand Down

0 comments on commit dc018c7

Please sign in to comment.