Debian Codegraph @

.gitlab-ci.yml

raw symbols SCIP
1 image: rust:latest
2
3 variables:
4 QUICKCHECK_GENERATOR_SIZE: 4096
5 QUICKCHECK_MAX_TESTS: 100000
6 QUICKCHECK_TESTS: 5000
7 QUICKCHECK_MIN_TESTS_PASSED: 3
8
9 stable: &default
10 before_script:
11 - &pybase32 |
12 apt-get -y update \
13 && apt-get -y install python3-dev \
14 && git clone https://github.com/tobyn/zbase32.git pyzbase32 \
15 && cd pyzbase32 \
16 && python3 ./setup.py install --user
17 script:
18 - cargo rustc --lib --verbose -- -D warnings
19 - rustup component add clippy
20 - cargo clippy -- -D clippy::all -D clippy::pedantic -D warnings
21 - cargo test --verbose --features python_tests
22
23 beta:
24 <<: *default
25 before_script:
26 - *pybase32
27 - rustup toolchain install beta
28 - rustup default beta
29
30 nightly:
31 before_script:
32 - *pybase32
33 - rustup toolchain install nightly
34 - rustup default nightly
35 script:
36 - cargo test --verbose --features unstable,python_tests
37 allow_failure: true