language: rust
rust:
  - 1.9.0

before_install:
  - sudo apt-get update

addons:
  apt:
    packages:
      - kcov

after_success: |
  for file in target/debug/lion-*; do mkdir -p "target/cov/$(basename $file)"; kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
  bash <(curl -s https://codecov.io/bash) &&
  echo "Uploaded code coverage"


language: rust
rust:
  - 1.9.0

before_install:
  - sudo apt-get update

addons:
  apt:
    packages:
      - kcov

after_success: |
  for file in target/debug/<executable name>-*; do mkdir -p "target/cov/$(basename $file)"; kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
  bash <(curl -s https://codecov.io/bash) &&
  echo "Uploaded code coverage"


Revert "Accidentally forgot to replace <executable name> with lion"
Revert "Accidentally forgot to replace <executable name> with lion"

This reverts commit c99d1998bdcc6af02b7f5f67d8e35f185e1eb2d4.
