Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: php

dist: trusty
dist: xenial

jdk:
- openjdk8
Expand All @@ -15,15 +15,16 @@ cache:
env:
global:
- DISPLAY=:99.0
- CHROME_DRIVER_VERSION=2.36
- SELENIUM_VERSION=3.6.0
- CHROME_DRIVER_VERSION=84.0.4147.30
- SELENIUM_VERSION=3.141.59
matrix:
- DEPS="" PROFILE=default
# - DEPS="--prefer-lowest" PROFILE=default
- DEPS="" PROFILE=symfony2
# - DEPS="--prefer-lowest" PROFILE=symfony2

php:
- 7.1
- 7.2
- nightly

Expand All @@ -37,7 +38,7 @@ before_script:

- wget "https://chromedriver.storage.googleapis.com/${CHROME_DRIVER_VERSION}/chromedriver_linux64.zip"
- unzip chromedriver_linux64.zip
- wget "https://selenium-release.storage.googleapis.com/${SELENIUM_VERSION%%.[[:digit:]]}/selenium-server-standalone-${SELENIUM_VERSION}.jar" -O selenium.jar
- wget "https://selenium-release.storage.googleapis.com/${SELENIUM_VERSION%.*}/selenium-server-standalone-${SELENIUM_VERSION}.jar" -O selenium.jar
- java -jar -Dwebdriver.chrome.driver=./chromedriver selenium.jar &> /dev/null &

- echo "memory_limit = 2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "library",
"homepage": "https://github.com/IntegralService/BehatContext",
"license": "MIT",
"minimum-stability": "dev",
"minimum-stability": "stable",

"require": {
"php": ">=5.6",
Expand All @@ -17,8 +17,8 @@
"symfony/translation": "^4.0",
"symfony/config": "^4.0",
"symfony/dependency-injection": "^4.0",
"phpunit/php-code-coverage": "^5",
"phpunit/phpunit": "^6"
"phpunit/php-code-coverage": "^6.1",
"phpunit/phpunit": "^7.5"
},

"require-dev": {
Expand Down