summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cose/.travis.yml
blob: f0fbb9cbeeceb8366ea11c3c7055ac7af73afdf6 (plain)
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
27
28
dist: bionic
language: rust
cache: cargo
os:
  - linux
rust:
  - stable
  - beta
  - nightly

addons:
  apt:
    packages:
      - build-essential
      - libnss3-dev

#install:
# Apparently cargo install returns a nonzero exit status if
# caching succeeds, so just make this always "succeed".
#  - (cargo install rustfmt --force || true)

script:
#- |
#  cargo fmt -- --write-mode=diff
- |
  cargo build --features "$FEATURES" &&
  cargo test &&
  cargo run --example sign_verify