Enable running unit tests in GitLab CI

Do this for the library/local crate only.  Not the main binary nor
the examples can be tested for the x86_64-unknown-linux-gnu target.
This commit is contained in:
Paul van Tilburg 2019-04-11 20:10:49 +02:00
parent 6e8de672ea
commit ebeb18e8d8
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 1 additions and 3 deletions

View File

@ -26,6 +26,4 @@ rust-build:
script:
- rustc --version && cargo --version
- cargo build --release --jobs 1
# FIXME: These should be run on the x86_64-unknown-linux-gnu target,
# does nothing otherwise
- env RUSTDOCFLAGS=-Cpanic=abort cargo test -- --test-threads 1
- cargo test --lib --target x86_64-unknown-linux-gnu -- --test-threads 1