1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 16:16:16 +04:00

Try to update travis

This commit is contained in:
WangRunji 2018-07-06 23:23:02 +08:00
parent 08777b1063
commit af0e90ca1c

View File

@ -1,33 +1,14 @@
sudo: required
language: rust
rust:
- nightly-2018-04-01
services:
- docker
cache:
cargo: true
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
sudo: false
notifications:
email:
on_failure: change
addons:
apt:
packages:
- nasm
- qemu
env:
matrix:
- TASK="build"
# - TASK="run travis=1"
before_install:
- docker pull wangrunji0408/riscv-rust
- docker run -d -v $(pwd):$(pwd) -w $(pwd) wangrunji0408/riscv-rust \
/bin/sh -c "make build arch=riscv32"
script:
- make ${TASK}
- bundle exec rake test