Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.travis.yml: Test no_std platform, WASM, all feature combos, --release #21

Merged
merged 11 commits into from Aug 12, 2019
53 changes: 44 additions & 9 deletions .travis.yml
@@ -1,14 +1,49 @@
language: rust
services: docker
sudo: required
cache: cargo

matrix:
include:
- rust: 1.27.0
- rust: stable
- rust: nightly
rust:
- 1.27.0
- stable
- nightly

install:
- rustup component add rustfmt
- rustup component add clippy
- rustup target add thumbv7em-none-eabihf
- rustup target add wasm32-unknown-unknown
tarcieri marked this conversation as resolved.
Show resolved Hide resolved

script:
- cargo test --all ; ./test_aesni.sh
- cargo test --all --release
- cargo test --all --all-features --release

cache: cargo
matrix:
allow_failures:
- rust: nightly
include:
- name: "Rust: stable (thumbv7em-none-eabihf)"
rust: stable
script:
- cargo build --all --target thumbv7em-none-eabihf --release
- name: "Rust: stable (wasm32-unknown-unknown)"
rust: stable
script:
- cargo build --all --target wasm32-unknown-unknown --release
tarcieri marked this conversation as resolved.
Show resolved Hide resolved
- name: "./test_aesni.sh"
rust: stable
script:
- ./test_aesni.sh
- name: rustfmt
rust: stable
script:
- cargo fmt --all -- --check
newpavlov marked this conversation as resolved.
Show resolved Hide resolved
- name: clippy
rust: stable
script:
- cargo clippy --all
- name: docs
script:
- cargo doc --all --no-deps
tarcieri marked this conversation as resolved.
Show resolved Hide resolved

branches:
only:
- master