Skip to content

Commit

Permalink
Travis CI: dist: xenial is now the default and sudo is deprecated
Browse files Browse the repository at this point in the history
The default Travis distro is now xenial and the __sudo:__ tags is now deprecated because the sudo is _always_ available and there is no way to turn it off.

Signed-off-by: Alexei Barantsev <barancev@gmail.com>
  • Loading branch information
cclauss authored and barancev committed Sep 15, 2019
1 parent b8e372d commit 3bb5d31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
dist: trusty
sudo: required
dist: xenial
services:
- xvfb
addons:
apt:
packages:
- oracle-java8-installer
env:
global:
- DISPLAY=:99.0
- PYTEST_ADDOPTS="--verbose --instafail"
- FF_ESR_BINARY=$HOME/firefox-52.9.0esr/firefox/firefox-bin
- FF_NIGHTLY_BINARY=$HOME/firefox-latest-nightly/firefox/firefox-bin
Expand Down
2 changes: 1 addition & 1 deletion scripts/travis/before_script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -ex

sh /etc/init.d/xvfb start
# sh /etc/init.d/xvfb start

if [[ ! -z $TOXENV ]]; then
./go py_prep_for_install_release
Expand Down

0 comments on commit 3bb5d31

Please sign in to comment.