Fix travis.yml.

This commit is contained in:
Sébastien Crozet 2016-12-04 23:00:12 +01:00
parent 99b6181b1e
commit 377f8b5596
3 changed files with 8 additions and 27 deletions

View File

@ -3,5 +3,5 @@ language: rust
script:
- rustc --version
- cargo --version
- cargo build --verbose --features "arbitrary generic_sizes"
- cargo build --verbose --features arbitrary
- cargo test --verbose --features arbitrary

View File

@ -1,30 +1,11 @@
tmp=_git_distcheck
all:
cargo build --release --features "arbitrary generic_sizes abstract_algebra"
test:
cargo test --features "arbitrary generic_sizes abstract_algebra"
bench:
cargo bench --features "arbitrary generic_sizes abstract_algebra"
cargo build --features "arbitrary"
doc:
cargo doc --no-deps --features "arbitrary generic_sizes abstract_algebra"
cargo doc
bench:
cargo bench
clean:
cargo clean
distcheck:
rm -rf $(tmp)
git clone --recursive . $(tmp)
make -C $(tmp)
make -C $(tmp) test
make -C $(tmp) bench
rm -rf $(tmp)
.PHONY:doc
.PHONY:test
test:
cargo test --features "arbitrary"

View File

@ -100,7 +100,7 @@ quickcheck!(
fn all_op_exist(q: Quaternion<f64>, uq: UnitQuaternion<f64>,
v: Vector3<f64>, p: Point3<f64>, r: Rotation3<f64>,
s: f64) -> bool {
let uv = Unit::new(v);
let uv = Unit::new_normalize(v);
let qpq = q + q;
let qmq = q - q;