Utilize cached kcov if exists
This commit is contained in:
parent
8d0e05adb7
commit
80c734efe2
17
.travis.yml
17
.travis.yml
@ -51,14 +51,15 @@ addons:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
|
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
|
||||||
- (true && [ "$RUN_COVERAGE" = "false" ]) ||
|
- ([ "$RUN_COVERAGE" = "false" ]) || (test -x $KCOV_CMD) || (
|
||||||
(wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
|
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
|
||||||
tar xzf master.tar.gz &&
|
tar xzf master.tar.gz &&
|
||||||
mkdir -p kcov-master/build &&
|
mkdir -p kcov-master/build &&
|
||||||
cd kcov-master/build &&
|
cd kcov-master/build &&
|
||||||
cmake .. &&
|
cmake .. &&
|
||||||
make && make install DESTDIR=../tmp &&
|
make && make install DESTDIR=../tmp &&
|
||||||
cd)
|
cd
|
||||||
|
)
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ "$RUN_TESTS" = "true" ]; then ./test.sh; fi
|
- if [ "$RUN_TESTS" = "true" ]; then ./test.sh; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user