Use Docker for more recent LTS

This commit is contained in:
James 2018-01-31 17:40:51 +11:00
parent 7faa1c18e0
commit 7e7e90f8c2
2 changed files with 16 additions and 8 deletions

View file

@ -1,9 +1,8 @@
language: rust
rust:
- stable
cache: cargo
services:
- docker
addons:
apt:
packages:
- libwebkit2gtk-3.0-dev
install:
- docker pull ubuntu:18.04
build:
- docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh

9
.travis/build.sh Normal file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
cd /liftinstall
sudo apt install libwebkit2gtk-4.0-dev
curl https://sh.rustup.rs -sSf | sh -s
export PATH=~/.cargo/bin:$PATH
cargo build