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:
parent
08777b1063
commit
af0e90ca1c
37
.travis.yml
37
.travis.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user