Skip to content

Commit 4b3d2f6

Browse files
committed
Disable most of the matrix for now for testing coveralls coverage
1 parent bedcd86 commit 4b3d2f6

7 files changed

Lines changed: 5 additions & 27 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ branches:
44

55
os:
66
- linux
7-
- osx
7+
# - osx
88

99
language: rust
1010

1111
rust:
1212
- stable
13-
- beta
14-
- nightly
13+
# - beta
14+
# - nightly
1515

1616
# the earliest supported stable release; we depend upon
1717
# * >= 1.32 for uniform module paths
@@ -38,7 +38,7 @@ env:
3838
- RUSTFLAGS="-A unknown-lints -D warnings"
3939
matrix:
4040
- CARGOFLAGS=""
41-
- CARGOFLAGS="--release"
41+
# - CARGOFLAGS="--release"
4242

4343
before_script:
4444
- rustup update
@@ -102,4 +102,4 @@ matrix:
102102

103103
script:
104104
- cargo build
105-
- cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
105+
- cargo tarpaulin --ciserver travis-ci --coveralls $TRAVIS_JOB_ID --tests --all-features --no-fail-fast

src/boxed.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,6 @@ fn mprotect<T>(ptr: *const T, prot: Prot) {
483483
}
484484
}
485485

486-
// LCOV_EXCL_START
487-
488486
#[cfg(test)]
489487
mod tests {
490488
use super::*;
@@ -870,5 +868,3 @@ mod tests_proven_statements {
870868
let _ = boxed.as_mut_slice();
871869
}
872870
}
873-
874-
// LCOV_EXCL_STOP

src/ffi/sodium.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ pub(crate) fn memrandom(bytes: &mut [u8]) {
210210
unsafe { randombytes_buf(bytes.as_mut_ptr() as *mut _, bytes.len()) }
211211
}
212212

213-
// LCOV_EXCL_START
214-
215213
#[cfg(test)]
216214
mod test {
217215
use super::*;
@@ -236,5 +234,3 @@ mod test {
236234
assert!(!memcmp(&c, &a));
237235
}
238236
}
239-
240-
// LCOV_EXCL_STOP

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// LCOV_EXCL_LINE
2-
31
//! Protected-access memory for cryptographic secrets.
42
//!
53
//! Provides a convenient way to allocate and access memory for

src/secret.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,6 @@ impl<T: Bytes> PartialEq for RefMut<'_, T> {
246246

247247
impl<T: Bytes> Eq for RefMut<'_, T> {}
248248

249-
// LCOV_EXCL_START
250-
251249
#[cfg(test)]
252250
mod tests {
253251
use super::*;
@@ -358,5 +356,3 @@ mod tests {
358356
Secret::<u8>::zero(|_| sodium::fail());
359357
}
360358
}
361-
362-
// LCOV_EXCL_STOP

src/secret_box.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,6 @@ impl<T: Bytes> PartialEq<Ref<'_, T>> for RefMut<'_, T> {
406406

407407
impl<T: Bytes> Eq for RefMut<'_, T> {}
408408

409-
// LCOV_EXCL_START
410-
411409
#[cfg(test)]
412410
mod test {
413411
use super::*;
@@ -558,5 +556,3 @@ mod tests_proven_statements {
558556
let _ = boxed.as_mut();
559557
}
560558
}
561-
562-
// LCOV_EXCL_STOP

src/secret_vec.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,6 @@ impl<T: Bytes> PartialEq<Ref<'_, T>> for RefMut<'_, T> {
413413

414414
impl<T: Bytes> Eq for RefMut<'_, T> {}
415415

416-
// LCOV_EXCL_START
417-
418416
#[cfg(test)]
419417
mod test {
420418
use super::*;
@@ -550,5 +548,3 @@ mod test {
550548
assert_eq!(secret_2.borrow_mut(), secret_1.borrow());
551549
}
552550
}
553-
554-
// LCOV_EXCL_STOP

0 commit comments

Comments
 (0)