Fix travis.yml.
This commit is contained in:
parent
99b6181b1e
commit
377f8b5596
|
@ -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
|
||||
|
|
31
Makefile
31
Makefile
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue