image: "rust:latest"
# Optional: Install a C compiler, cmake and git into the container.
# You will often need this when you (or any of your dependencies) depends on C code.
#before_script:
#- apt-get update -yqq
#- apt-get install -yqq --no-install-recommends build-essential
# Use cargo to test the project
test:linux:
script:
- cargo check --examples
test:redox:
script:
- rustup install nightly
- rustup target add x86_64-unknown-redox --toolchain nightly
- cargo +nightly check --target x86_64-unknown-redox --examples