aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2017-12-05 19:25:10 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-12-07 17:08:09 +0300
commitf49d7bad7316ed0be807f37984908fc37da68004 (patch)
treee9f966b9da1244fcb77e6be7860ef19c8d5c5dcd
parent811281a22b6274b7f41b926a9cfbe09e48a366bd (diff)
downloadodp-f49d7bad7316ed0be807f37984908fc37da68004.tar.gz
travis: disable ccache for codecov
Log says: odp_pktio_perf.gcno:cannot open notes file Reason is codecov does not see any generated files which were not complied due to ccache. Disabling ccache makes it work. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
-rw-r--r--.travis.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 976f076..1340ef2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,7 +35,7 @@ env:
# By default Linaro CODECOV_TOKEN token is used. It's ok to use it to see
# for individual commit validation. But you you want to track tests history
# you need generated new one at https://codecov.io specific for your repo.
- - CODECOV_TOKEN=8e1c0fd8-62ff-411e-a79f-5839f6662c11
+ - CODECOV_TOKEN=a733c34c-5f5c-4ff1-af4b-e9f5edb1ab5e
addons:
apt:
@@ -245,12 +245,11 @@ jobs:
- ./configure --prefix=$HOME/odp-install
--enable-user-guides
--with-dpdk-path=`pwd`/dpdk/${TARGET}
- --with-netmap-path=`pwd`/netmap CFLAGS="-O0
- -coverage"
+ --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage"
CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage"
--enable-debug=full
--enable-helper-linux
- - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check
+ - sudo CCACHE_DISABLE=1 LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check
- find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy
- stage: test
env: TEST=distcheck