1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-23 08:26:17 +04:00
rCore/.travis.yml

38 lines
587 B
YAML
Raw Normal View History

2017-04-19 14:53:28 +04:00
language: rust
rust:
- nightly
2018-04-09 11:12:15 +04:00
cache:
2018-04-09 11:19:02 +04:00
cargo: true
2018-04-09 11:12:15 +04:00
directories:
- $HOME/qemu
2017-04-19 14:53:28 +04:00
before_script:
- rustup component add rust-src
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
- cargo install-update -a
2018-04-09 11:12:15 +04:00
# setup qemu
- bash -e travis-qemu.sh
- export PATH=$PATH:$HOME/qemu/bin
2017-04-19 14:53:28 +04:00
sudo: false
notifications:
email:
on_failure: change
addons:
apt:
packages:
- nasm
2018-04-09 17:20:47 +04:00
env:
matrix:
- TASK="build"
- TASK="run travis=1"
2017-04-19 14:53:28 +04:00
script:
2018-04-09 17:20:47 +04:00
- make ${TASK}