Add pip caching only when reporting coverage.

This commit is contained in:
Omer Katz 2015-12-31 14:21:23 +02:00
parent 918fafc611
commit 83a2e13efb

View File

@ -2,7 +2,6 @@ language: cpp
sudo: false
cache:
- ccache
- pip
addons:
apt:
@ -56,6 +55,9 @@ matrix:
# coverage report
- env: CONF=debug ARCH=x86 GCOV_FLAGS='--coverage'
compiler: gcc
cache:
- ccache
- pip
addons:
apt:
packages:
@ -67,6 +69,9 @@ matrix:
- coveralls -r .. --gcov-options '\-lp' -e thirdparty -e example -e test -e build/CMakeFiles -e include/rapidjson/msinttypes -e include/rapidjson/internal/meta.h -e include/rapidjson/error/en.h
- env: CONF=debug ARCH=x86_64 GCOV_FLAGS='--coverage'
compiler: gcc
cache:
- ccache
- pip
addons:
apt:
packages: