image: 'rust:latest' stages: - test variables: CARGO_INCREMENTAL: 0 test: variables: JQ_LIB_DIR: /usr/lib/x86_64-linux-gnu stage: test before_script: - apt update && apt install libjq1 libjq-dev libonig-dev libonig5 - rustup component add rustfmt - rustup component add clippy script: - cargo fmt -- --check - cargo build --all-features --tests - cargo clippy - cargo clippy --features jq - cargo clippy --tests - cargo test --all-features # 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