Skip to content

Commit

Permalink
Fix travis.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Dec 4, 2016
1 parent 99b6181 commit 377f8b5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 6 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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"


clean:
cargo clean
cargo doc

distcheck:
rm -rf $(tmp)
git clone --recursive . $(tmp)
make -C $(tmp)
make -C $(tmp) test
make -C $(tmp) bench
rm -rf $(tmp)
bench:
cargo bench

.PHONY:doc
.PHONY:test
test:
cargo test --features "arbitrary"
2 changes: 1 addition & 1 deletion tests/quaternion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 377f8b5

Please sign in to comment.