mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 16:53:56 +00:00
travis: add cache and fix issues
This commit is contained in:
parent
b3b686ed53
commit
9a28807423
1 changed files with 11 additions and 2 deletions
13
.travis.yml
13
.travis.yml
|
@ -6,13 +6,22 @@ matrix:
|
|||
dist: trusty
|
||||
services: docker
|
||||
install: docker pull rust:1
|
||||
script: docker run -v $(pwd):/liftinstall rust:1 /bin/bash -ex /liftinstall/.travis/build.sh
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cargo
|
||||
- $TRAVIS_BUILD_DIR/ui/node_modules
|
||||
script: docker run -v $HOME/.cargo:/root/.cargo -v $(pwd):/liftinstall rust:1 /bin/bash -ex /liftinstall/.travis/build.sh
|
||||
|
||||
- os: osx
|
||||
language: rust
|
||||
cache: cargo
|
||||
osx_image: xcode10
|
||||
script: brew install yarn && cargo build
|
||||
|
||||
- os: windows
|
||||
language: rust
|
||||
script: choco install nodejs yarn && cargo build
|
||||
cache: cargo
|
||||
script:
|
||||
- choco install nodejs yarn
|
||||
- export PATH="$PROGRAMFILES/nodejs/:$PROGRAMFILES (x86)/Yarn/bin/:$PATH"
|
||||
- cargo build
|
||||
|
|
Loading…
Reference in a new issue