This makes cargo test test all the stuff in tests/rust, and thus makes tests.py unnecessary. Co-authored-by: Axel Nennker <axel.nennker@telekom.de>
20 lines
362 B
YAML
20 lines
362 B
YAML
language: rust
|
|
cache: cargo
|
|
rust:
|
|
- nightly
|
|
before_script:
|
|
- rustup component add rustfmt
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-7
|
|
- g++-7
|
|
script:
|
|
- export CC=gcc-7
|
|
- export CXX=g++-7
|
|
- cargo fmt --all -- --check
|
|
- cargo build --verbose
|
|
- CBINDGEN_TEST_VERIFY=1 cargo test --verbose
|