From f624a3b0118627e99d173256332f2832ee662f25 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Thu, 30 Apr 2020 05:34:22 +0900 Subject: [PATCH] Tweak CI config --- .travis.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 68bc441..e0c3e31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,12 @@ language: rust -sudo: false -dist: trusty +dist: xenial + +addons: + apt: + sources: + - ppa:chris-lea/redis-server + packages: + - redis-server services: - redis-server @@ -25,12 +31,11 @@ matrix: env: global: # - RUSTFLAGS="-C link-dead-code" - - OPENSSL_VERSION=openssl-1.0.2 + - OPENSSL_VERSION=openssl-1.1.1 before_install: - - sudo add-apt-repository -y ppa:0k53d-karl-f830m/openssl - - sudo apt-get update -qq - - sudo apt-get install -qq libssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev + - sudo apt-get -qq update + - sudo apt-get -y install libssl-dev libelf-dev libdw-dev binutils-dev libiberty-dev # Add clippy before_script: