-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (23 loc) · 795 Bytes
/
.travis.yml
File metadata and controls
23 lines (23 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: rust
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
# Enforce that all new commits are signed off according to the DCO,
# per CONTRIBUTING.md. Prior commits are either pre-fork, are signed off,
# or were made by Mark Thebridge, who hereby certifies the DCO with regard
# to each such commit.
#
# We then build all the code, then test it.
#
# Tests must be run on a single thread since they share keyspaces and tables.
script:
- |
DCO_SIGNING_BASE_COMMIT=4be2ef84a6554ea8f40a3e682277799cd9ac183c &&
if git log ${DCO_SIGNING_BASE_COMMIT}.. --grep "^signed-off-by: .\+@.\+" --regexp-ignore-case --invert-grep --no-merges | grep ^ ;
then echo '**One or more commits are not signed off!' ; /bin/false ; fi &&
cargo build --all &&
cargo test --all