From 83a2e13efb25503c7e05efeb3c7f3d53634838f3 Mon Sep 17 00:00:00 2001 From: Omer Katz Date: Thu, 31 Dec 2015 14:21:23 +0200 Subject: [PATCH] Add pip caching only when reporting coverage. --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 449fdc3..865b9d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: