Merge pull request #10 from liushuyu/master

CI enhancements
This commit is contained in:
James 2019-04-08 22:39:52 +10:00 committed by GitHub
commit 0d63e0ab21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 15 deletions

View File

@ -1,11 +1,18 @@
os: linux matrix:
dist: trusty include:
sudo: required - os: linux
services: language: cpp
- docker sudo: required
dist: trusty
services: docker
install: docker pull rust:1
script: docker run -v $(pwd):/liftinstall rust:1 /bin/bash -ex /liftinstall/.travis/build.sh
install: - os: osx
- docker pull ubuntu:18.04 language: rust
osx_image: xcode10
script: cargo build
script: - os: windows
- docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh language: rust
script: cargo build

View File

@ -1,10 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
cd /liftinstall cd /liftinstall || exit 1
apt update apt-get update
apt install -y libwebkit2gtk-4.0-dev libssl-dev apt-get install -y libwebkit2gtk-4.0-dev libssl-dev
curl https://sh.rustup.rs -sSf | sh -s -- -y
export PATH=~/.cargo/bin:$PATH
cargo build cargo build

3
bootstrap.macos.toml Normal file
View File

@ -0,0 +1,3 @@
# fake configuration for CI purpose only
name = "yuzu"
target_url = "https://raw.githubusercontent.com/j-selby/test-installer/master/config.linux.v2.toml"