From 92a799db2025b08bc698a9bcf84f61e5d4142638 Mon Sep 17 00:00:00 2001 From: Jeffrey Posnick Date: Tue, 30 Jul 2019 15:09:28 -0400 Subject: [PATCH] Update Travis to use Ubuntu bionic (#121) --- .travis.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index c2f2e7f..351b4b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,24 +19,20 @@ matrix: include: - name: "Linux (Legacy Node)" os: linux - dist: trusty + dist: bionic + # See https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-services + services: + - xvfb node_js: - 8 - before_script: - # Read more here: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI - - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start || echo 'Unable to start virtual display.'" - - sleep 3 # give xvfb some time to start - name: "Linux (Latest Node)" os: linux - dist: trusty + dist: bionic + # See https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-services + services: + - xvfb node_js: - node - before_script: - # Read more here: https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI - - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start || echo 'Unable to start virtual display.'" - - sleep 3 # give xvfb some time to start - name: "OS X (Latest Node)" os: osx node_js: