Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit a5aa0d7

Browse files
committed
Merge pull request #230 from localheinz/feature/env
Enhancement: Specify environment variable in env section of Travis configuration
2 parents abca617 + 691bb16 commit a5aa0d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ php:
1010
- 7
1111
- hhvm
1212

13+
env:
14+
global:
15+
- DISPLAY=:99.0
16+
1317
cache:
1418
directories:
1519
- $HOME/.composer/cache
@@ -21,7 +25,6 @@ install:
2125
- composer install --no-interaction --prefer-source
2226

2327
before_script:
24-
- export DISPLAY=:99.0
2528
- sh -e /etc/init.d/xvfb start
2629
- wget -q -t 3 http://selenium-release.storage.googleapis.com/2.45/selenium-server-standalone-2.45.0.jar
2730
- java -jar selenium-server-standalone-2.45.0.jar -log selenium.log &

0 commit comments

Comments
 (0)