From 06f9d969188bb6b55da4ade249ea0321a078fff3 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Mon, 4 Dec 2017 07:23:20 +0500 Subject: [PATCH] travis-ci: enable ccache for build speedup --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 81e6a5d5..3bd731f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,14 @@ language: c compiler: [ gcc, clang ] +cache: + ccache: true + +before_script: + - mkdir -p "${HOME}/bin" + - ln -s "$(which ccache)" "${HOME}/bin/${CC}" + - PATH="${HOME}/bin:${PATH}" + script: - ./configure - make