Files
blog_os/.travis.yml
2019-06-23 18:07:19 +02:00

52 lines
911 B
YAML

language: rust
rust:
- nightly
os:
- linux
- osx
- windows
notifications:
email:
on_success: never
on_failure: always
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Build pull requests.
- master
# Build post braches
- /^post-.*$/
cache:
directories:
- $HOME/.cargo
addons:
apt:
packages:
- qemu-system-x86
homebrew:
packages:
- qemu
update: true
install:
- if [ $TRAVIS_OS_NAME = windows ]; then choco install qemu; export PATH="/c/Program Files/qemu:$PATH"; fi
before_script:
- rustup component add rust-src llvm-tools-preview
- cargo install cargo-xbuild bootimage cargo-cache --debug -Z install-upgrade
script:
- cargo xbuild
- cargo bootimage
- cargo xtest
- cargo cache --autoclean