sudo: false
language: rust

matrix:
  include:
    - rust: stable
    - rust: beta
    - rust: nightly
      env:
      - FEATURES="i128"
      - BUILD_BENCH="true"

script:
  - cargo build --verbose --features "$FEATURES"
  - cargo test --verbose --features "$FEATURES"
  - if [ "$BUILD_BENCH" == "true" ]; then cargo bench --verbose --no-run --features "$FEATURES"; fi

