From 6976eba46763b03eff0a38de343e1a4db679061c Mon Sep 17 00:00:00 2001 From: Lokathor Date: Tue, 20 Nov 2018 01:02:10 -0700 Subject: [PATCH] try upgrading the CI script --- .travis.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2944ac..0d3aa7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,22 @@ rust: before_script: - (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update) - - (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.1" mdbook) + - (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild) + - (test -x $HOME/.cargo/bin/cargo-make || cargo install cargo-make) + - (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook) - cargo install-update -a script: - - cargo check && cargo check --release - # Only run a test build for the library itself + # Obtain the devkitPro tools + - wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb + - sudo dpkg -i devkitpro-pacman.deb + - sudo dkp-pacman -Sy + - sudo dkp-pacman -Syu + - sudo dkp-pacman -S gba-dev + # Test / compile the stuff - cargo test --lib && cargo test --lib --release + - cargo make + # Test build the book so that a failed book build kills this run - cd book && mdbook build deploy: