cbindgen/.travis.yml
Emilio Cobos Álvarez 2bb3e9ba66 Use cargo test instead of test.py.
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>
2019-04-20 00:30:58 +02:00

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