Remove travis for now

implement_qei
Evan Cameron 3 years ago
parent 548394a52f
commit 8e14d2772d

@ -1,71 +0,0 @@
# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2
dist: trusty
language: rust
rust:
- stable
- beta
- nightly
sudo: required
matrix:
include:
# Raspberry Pi 1
- env: TARGET=arm-unknown-linux-gnueabi DISABLE_EXAMPLES=1
# Raspberry Pi 2, 3, etc
- env: TARGET=armv7-unknown-linux-gnueabihf DISABLE_EXAMPLES=1
- env: TARGET=x86_64-unknown-linux-gnu DISABLE_EXAMPLES=1
- env: TARGET=x86_64-unknown-linux-musl DISABLE_EXAMPLES=1
# Bare metal
- env: TARGET=thumbv6m-none-eabi DISABLE_EXAMPLES=1
- env: TARGET=thumbv7em-none-eabi
- env: TARGET=thumbv7em-none-eabihf
- env: TARGET=thumbv7m-none-eabi
- rust: nightly
env: TARGET=thumbv7m-none-eabi
- rust: beta
env: TARGET=thumbv7m-none-eabi
# Always supply a target
exclude:
- rust: stable
- rust: beta
- rust: nightly
allow_failures:
- rust: nightly
env: TARGET=thumbv7m-none-eabi
before_install:
- pip install linkchecker --user
install:
- rustup component add rust-src
- rustup component add rustfmt
- |
SYSROOT=$(rustc --print sysroot)
if [[ ! "$SYSROOT" =~ "$TARGET" ]]; then
rustup target add $TARGET
else
echo "Target $TARGET is already installed"
fi
- source ~/.cargo/env || true
script:
- ./build.sh
- cargo doc --all-features --target $TARGET
- linkchecker target/$TARGET/doc/rotary_encoder_hal/index.html
cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
notifications:
email:
on_success: never

@ -15,12 +15,3 @@ either = { version = "1.5.3", default-features = false }
[dev-dependencies]
version-sync = "0.8"
cortex-m = "0.6.1"
cortex-m-rt = "0.6.10"
[dev-dependencies.stm32f3xx-hal]
version = "0.3.0"
features = ["rt"]
[badges]
travis-ci = { repository = "leshow/rotary-encoder-hal", branch = "master", service = "github" }

@ -1,6 +1,5 @@
# rotary-encoder-hal
[![Build Status](https://travis-ci.com/leshow/rotary-encoder-hal.svg?branch=master)](https://travis-ci.com/leshow/rotary-encoder-hal?branch=master)
[![Crate](https://img.shields.io/crates/v/rotary-encoder-hal.svg)](https://crates.io/crates/rotary-encoder-hal)
[![API](https://docs.rs/rotary-encoder-hal/badge.svg)](https://docs.rs/rotary-encoder-hal)

@ -1,13 +0,0 @@
#!/bin/sh
set -e
cargo fmt --all -- --check
cargo build --target $TARGET --all-features --release
cargo test --lib --target x86_64-unknown-linux-gnu
cargo test --doc --target x86_64-unknown-linux-gnu
if [ -z $DISABLE_EXAMPLES ]; then
cargo build --target $TARGET --all-features --examples
fi
Loading…
Cancel
Save