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
dist: trusty
sudo: required
services:
- docker
matrix:
include:
- os: linux
language: cpp
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:
- docker pull ubuntu:18.04
- os: osx
language: rust
osx_image: xcode10
script: cargo build
script:
- docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh
- os: windows
language: rust
script: cargo build

View File

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