Use cargo-xbuild instead of xargo and pass paths to --target

This commit is contained in:
Philipp Oppermann
2018-05-07 12:45:14 +02:00
parent cb1fa395b1
commit 65211f85a5
4 changed files with 18 additions and 27 deletions

View File

@@ -19,16 +19,12 @@ os:
- linux
- osx
cache:
directories:
- $HOME/.cargo
- $HOME/.xargo
- $TRAVIS_BUILD_DIR/target
cache: cargo
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)
- (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild)
- (test -x $HOME/.cargo/bin/bootimage || cargo install bootimage)
- cargo install-update -a