diff mbox series

[API-NEXT,v1,2/14] travis: disable ccache for codecov

Message ID 1513008012-9231-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series None | expand

Commit Message

Github ODP bot Dec. 11, 2017, 4 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


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>

---
/** Email created from pull request 335 (muvarov:devel/api-next_master_merge)
 ** https://github.com/Linaro/odp/pull/335
 ** Patch: https://github.com/Linaro/odp/pull/335.patch
 ** Base sha: 630d8422564ebf4991b468cb38a29e9483fc2ec2
 ** Merge commit sha: 2de2af9eca01b713e51c66fee7a5c7e535502f85
 **/
 .travis.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 976f07639..1340ef279 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