bulletproofs 2.0.0

A pure-Rust implementation of Bulletproofs using Ristretto
language: rust
cache: cargo

env:
  - TEST_COMMAND=test EXTRA_FLAGS='' FEATURES=''
  - TEST_COMMAND=test EXTRA_FLAGS='' FEATURES='yoloproofs'
  # run cargo bench with a filter that matches no benchmarks.
  # this ensures the benchmarks build but doesn't run them on the CI server.
  - TEST_COMMAND=bench EXTRA_FLAGS='"DONTRUNBENCHMARKS"' FEATURES=''

matrix:
  fast_finish: true
  include:
    before_script:
    - rustup component add rustfmt-preview
    script:
    - cargo fmt --all -- --check

script:
  - cargo $TEST_COMMAND --features="$FEATURES" $EXTRA_FLAGS

notifications:
  slack:
    rooms:
      - dalek-cryptography:Xxv9WotKYWdSoKlgKNqXiHoD#dalek-bots