Add OpenSSL dependency to Travis, cache Cargo artifacts

This commit is contained in:
James 2018-01-31 18:47:44 +11:00
parent 14590b2df6
commit bff20f30a5
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
os: linux
cache: cargo
dist: trusty
sudo: required
services:
@ -9,3 +10,4 @@ install:
script:
- docker run -v $(pwd):/liftinstall ubuntu:18.04 /bin/bash -ex /liftinstall/.travis/build.sh
- cp -r .cargo/ ~/.cargo/

View File

@ -2,9 +2,11 @@
cd /liftinstall
apt update
apt install -y libwebkit2gtk-4.0-dev
apt install -y libwebkit2gtk-4.0-dev libssl-dev
curl https://sh.rustup.rs -sSf | sh -s -- -y
export PATH=~/.cargo/bin:$PATH
cargo build
cp -r ~/.cargo/ ./.cargo/