summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-09-05 03:51:58 -0400
committerBen Morrison <ben@gbmor.dev>2019-09-05 03:51:58 -0400
commit4753eaf79d5b0b0d740ca0a182744a8b67137a8c (patch)
treea9ceb4c8bf0522664efc93301741c7a64c982b84
parentfd2f77093812a19536487bbf6928d02fb9b1f372 (diff)
downloadclinte-4753eaf79d5b0b0d740ca0a182744a8b67137a8c.tar.gz
using cargo tarpaulin instead of grcov
-rw-r--r--.travis.yml23
1 files changed, 3 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml
index bba0512..375be75 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,8 +2,6 @@ language: rust
 
 rust:
   - stable
-  - beta
-  - nightly
 
 os: 
   - linux
@@ -23,22 +21,7 @@ addons:
       - binutils-dev
       - libiberty-dev
 
-before_script:
-    - |
-      if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
-        cargo install grcov;
-        export CARGO_INCREMENTAL=0;
-        export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads";
-      fi
-
 script:
-    - cargo build --verbose $CARGO_OPTIONS
-    - cargo test --verbose $CARGO_OPTIONS
-
-after_script:
-    - |
-      if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
-        zip -0 ccov.zip `find . \( -name "clinte*.gc*" \) -print`;
-        grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore-dir "/*" -o lcov.info;
-        bash <(curl -s https://codecov.io/bash) -f lcov.info;
-      fi
+    - cargo build --verbose
+    - cargo tarpaulin --out Xml
+    - bash <(curl -s https://codecov.io/bash)