forked from dalek-cryptography/bulletproofs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (22 loc) · 725 Bytes
/
.travis.yml
File metadata and controls
26 lines (22 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: rust
cache: cargo
env:
- TEST_COMMAND=test EXTRA_FLAGS='' FEATURES=''
# The yoloproofs feature is disabled on the main branch.
#- 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