Skip to content

Commit

Permalink
Reduce number of storage types that are tested for performance reasons.
Browse files Browse the repository at this point in the history
Compiler performance issues described in #52 are causing the `uom` build
to take a significant amount of time when all underlying storage types
are enabled. As additional quantities are added this performance gets
worse. This commit only tests a few types in order to keep the build
time within Appveyor and TravisCI limits.
  • Loading branch information
iliekturtles committed Apr 24, 2018
1 parent 3f4a2b1 commit 61bce93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ install:
## Build Script ##
build: false
test_script:
- cargo build --verbose --all-features
- cargo test --all --verbose --features serde
- cargo build --verbose --no-default-features --features "usize isize bigint rational bigrational f32 f64 si std use_serde"
- cargo test --all --verbose --features "use_serde"

notifications:
- provider: Email
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ before_script: |
(test $(grep "cargo-travis" /home/travis/.cargo/.crates.toml | sed -r "s/\"cargo-travis ([^\ ]+).+/\1/") = $(cargo search cargo-travis --limit 1 | sed -r "s/cargo-travis \(([^\)]+)\).+/\1/") || cargoo install cargo-travis --force)
script: |
cargo build --verbose --all-features &&
(test "$TRAVIS_RUST_VERSION" == "1.20.0" || cargo test --all --verbose --features serde)
cargo build --verbose --no-default-features --features "usize isize bigint rational bigrational f32 f64 si std use_serde" &&
(test "$TRAVIS_RUST_VERSION" == "1.20.0" || cargo test --all --verbose --features "use_serde")
after_success: |
test "$TRAVIS_RUST_VERSION" != "stable" || cargo coveralls
Expand Down

0 comments on commit 61bce93

Please sign in to comment.