more coverage
[awesomized/libmemcached] / .travis.yml
index e7316def3ec3a16aefafdd6f2d81916336223a8c..1428b20a34afd504a75b8dd2581cd093fc6793df 100644 (file)
@@ -13,7 +13,7 @@ addons:
    - libsasl2-dev
 
 env:
- - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true
+ - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage"
 
 install:
  - |
@@ -45,6 +45,9 @@ script:
 after_failure:
  - cat Testing/Temporary/LastTest.log || true
 
+after_success:
+ - bash <(curl -s https://codecov.io/bash)
+
 notifications:
   webhooks:
     urls: