Skip to content

Commit 3e45b65

Browse files
committed
fixes #77 - disable Travis CI functional tests
1 parent bf98cb8 commit 3e45b65

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.travis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ php:
1111
- 7.1
1212
- hhvm
1313

14-
before_install:
15-
# This update is mandatory or the 'apt-get install' calls following will fail
16-
- sudo apt-get update -qq
17-
- sudo apt-get install -y apache2 libapache2-mod-fastcgi
18-
# start the xvfb display needed for firefox
19-
- export DISPLAY=:99.0
20-
- sh -e /etc/init.d/xvfb start
21-
- sh ./test/CI/Travis/setup_selenium.sh
22-
- sh ./test/CI/Travis/setup_apache.sh
14+
#before_install:
15+
# # This update is mandatory or the 'apt-get install' calls following will fail
16+
# - sudo apt-get update -qq
17+
# - sudo apt-get install -y apache2 libapache2-mod-fastcgi
18+
# # start the xvfb display needed for firefox
19+
# - export DISPLAY=:99.0
20+
# - sh -e /etc/init.d/xvfb start
21+
# - sh ./test/CI/Travis/setup_selenium.sh
22+
# - sh ./test/CI/Travis/setup_apache.sh
2323

2424
before_script:
2525
- composer install --no-interaction
2626

2727
script:
2828
- mkdir -p build/logs
29-
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
29+
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml --group Unit
3030

3131
after_script:
3232
- vendor/bin/coveralls

test/Test/WebDriver/ExceptionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
* Test WebDriver\Exception class
2828
*
2929
* @package WebDriver
30+
*
31+
* @group Unit
3032
*/
3133
class ExceptionTest extends \PHPUnit_Framework_TestCase
3234
{
3335
/**
3436
* test factory()
35-
*
36-
* @group Unit
3737
*/
3838
public function testFactory()
3939
{

test/Test/WebDriver/StorageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
* Test WebDriver\Storage class
2828
*
2929
* @package WebDriver
30+
*
31+
* @group Unit
3032
*/
3133
class StorageTest extends \PHPUnit_Framework_TestCase
3234
{
3335
/**
3436
* test factory()
35-
*
36-
* @group Unit
3737
*/
3838
public function testFactory()
3939
{

0 commit comments

Comments
 (0)