sudo: false
language: rust
cache:
cargo: true
directories:
- "$SCCACHE_DIR"
- "$HOME/.xargo"
addons:
apt:
packages:
- libc6-i386
- lib32stdc++6
- lib32gcc1
- patch
rust:
- nightly
env:
global:
- CARGO_HOME="$HOME/.cargo"
- RUSTC_WRAPPER="sccache"
- SCCACHE_DIR="$HOME/.cache/sccache"
- VITASDK="$HOME/.local/share/vitasdk"
- PATH="$VITASDK/bin:$PATH"
install:
- curl -SsL "https://raw.githubusercontent.com/vita-rust/common/master/ci/travis/setup.sh" | sh
script:
- cargo make build - cargo make xbuild - cd examples/hello_rust_world && cargo make vpk
before_deploy:
- cd $TRAVIS_BUILD_DIR
deploy:
provider: script
script: cargo make publish-flow
on:
tags: true
repo: vita-rust/psp2-sys
rust: nightly
notifications:
email:
- althonosdev@gmail.com