Fix frontend tests on Travis (#8089)

* Remove obsolete travis cache option (apt)

See: https://github.com/travis-ci/travis-ci/issues/5876

* Travis config value "addons.postresql" is a string

* Update Travis from trusty to xenial

Fixes the frontend build, which was failing because Chrome has dropped Trusty support in the latest version. See: https://travis-ci.community/t/travis-is-downloading-older-chrome-versions-in-place-of-chrome-stable/5040/4
This commit is contained in:
Jarek Radosz 2019-09-12 02:31:51 +02:00 committed by Sam
parent 7331e0865a
commit eeb84806bc
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ env:
addons:
chrome: stable
postgresql: 9.6
postgresql: "9.6"
apt:
update: true
packages:
@ -40,10 +40,9 @@ services:
- redis-server
sudo: required
dist: trusty
dist: xenial
cache:
apt: true
yarn: true
directories:
- vendor/bundle