Travis: Cleanup

pull/7135/head
Aleksander Machniak 4 years ago
parent 5defccb919
commit 7abd4f2c15

@ -1,8 +1,7 @@
#!/bin/bash
# The script is intended for use on Travis with Trusty distribution
set -x
# It installs in-browser tests dependencies and prepares Roundcube instance
GMV=1.5.11
CHROMEVERSION=$(google-chrome-stable --version | tr -cd [:digit:]. | cut -d . -f 1)
@ -24,8 +23,7 @@ lessc skins/elastic/styles/embed.less > skins/elastic/styles/embed.css
# Install proper WebDriver version for installed Chrome browser
php tests/Browser/install.php $CHROMEVERSION
# In-Browser tests dependencies installation
# and GreenMail server setup and start
# GreenMail server download, setup and start
wget http://central.maven.org/maven2/com/icegreen/greenmail-standalone/$GMV/greenmail-standalone-$GMV.jar \
&& (sudo java -Dgreenmail.setup.all -Dgreenmail.users=test:test -jar greenmail-standalone-$GMV.jar &) \
&& sleep 5

@ -1,6 +1,6 @@
language: php
dist: trusty
dist: trusty #
sudo: false
matrix:
@ -14,7 +14,7 @@ matrix:
env: CODE_COVERAGE=1
- php: 7.2
- php: 7.3
dist: bionic
dist: bionic # for proper node-less version
env: BROWSER_TESTS=1
addons:
chrome: stable

Loading…
Cancel
Save