Reduce travis' cache size
Reduces the cache from 1.1GB to 70MB which makes the cache loading and storing much faster
This commit is contained in:
parent
f6224ca0bc
commit
c32dd1c120
|
@ -4,9 +4,7 @@ language: python
|
|||
|
||||
cache:
|
||||
pip: true
|
||||
directories:
|
||||
- "$HOME/.cargo"
|
||||
- "$HOME/kcov"
|
||||
cargo: true
|
||||
|
||||
matrix:
|
||||
include:
|
||||
|
|
|
@ -41,16 +41,18 @@ mkdir -p $SCCACHE_DIR
|
|||
|
||||
### Setup kcov #################################################################
|
||||
|
||||
if [ ! -d "$HOME/kcov/.git" ]; then
|
||||
git clone --depth=1 https://github.com/SimonKagstrom/kcov "$HOME/kcov"
|
||||
fi
|
||||
if [ ! -f "$HOME/.cargo/bin/kcov" ]; then
|
||||
if [ ! -d "$HOME/kcov/.git" ]; then
|
||||
git clone --depth=1 https://github.com/SimonKagstrom/kcov "$HOME/kcov"
|
||||
fi
|
||||
|
||||
cd $HOME/kcov
|
||||
git pull
|
||||
cmake .
|
||||
make
|
||||
install src/kcov $HOME/.cargo/bin/kcov
|
||||
cd $TRAVIS_BUILD_DIR
|
||||
cd $HOME/kcov
|
||||
git pull
|
||||
cmake .
|
||||
make
|
||||
install src/kcov $HOME/.cargo/bin/kcov
|
||||
cd $TRAVIS_BUILD_DIR
|
||||
fi
|
||||
|
||||
### Setup python linker flags ##################################################
|
||||
|
||||
|
|
Loading…
Reference in New Issue