si5351/.travis.yml
2018-03-02 01:32:10 +01:00

55 lines
918 B
YAML

# Based on the "trust" template v0.1.2
# https://github.com/japaric/trust/tree/v0.1.2
language: rust
services: docker
matrix:
include:
# Linux
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
# Bare metal
- env: TARGET=thumbv6m-none-eabi
rust: nightly
- env: TARGET=thumbv7m-none-eabi
rust: nightly
- env: TARGET=thumbv7em-none-eabi
rust: nightly
- env: TARGET=thumbv7em-none-eabihf
rust: nightly
before_install:
- set -e
- rustup self update
install:
- sh ci/install.sh
- source ~/.cargo/env || true
script:
- bash ci/script.sh
after_script: set +e
cache:
cargo: true
directories:
- $HOME/.xargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
branches:
only:
- /^v\d+\.\d+\.\d+.*$/
- auto
- master
- try
notifications:
email:
on_success: never