1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00
electrs/.travis.yml
2018-07-22 00:34:04 +02:00

24 lines
346 B
YAML

language: rust
env: CARGO_INCREMENTAL=0
cache:
cargo: true
timeout: 450
stages:
- lint
- test
jobs:
include:
- stage: test
script:
- cargo build
- cargo test
- stage: lint
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --write-mode=check