blob: f1a229f127ae03d5688543a1bf93eecd38e7f56c (
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
|
image: 'rust:latest'
stages:
- test
variables:
CARGO_INCREMENTAL: 0
test:
stage: test
script:
- apt update && apt install libjq1 libjq-dev libonig-dev libonig5
- JQ_LIB_DIR=/usr/lib/x86_64-linux-gnu cargo test --all --verbose
# pretty:
# stage: test
# allow_failure: true
# before_script:
# - rustup component add rustfmt
# script:
# - cargo fmt -- --check
# petty:
# stage: test
# before_script:
# - rustup component add clippy
# script:
# - cargo clippy --all
|