fixed travis config
This commit is contained in:
parent
b7526436aa
commit
7154b917fd
@ -20,18 +20,12 @@ install:
|
|||||||
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
|
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
|
||||||
- export PATH="$HOME/.composer/vendor/bin:$PATH"
|
- export PATH="$HOME/.composer/vendor/bin:$PATH"
|
||||||
- travis_retry composer install --dev --prefer-dist --no-interaction
|
- travis_retry composer install --dev --prefer-dist --no-interaction
|
||||||
# codeception
|
|
||||||
- travis_retry composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
|
|
||||||
# setup application:
|
# setup application:
|
||||||
- |
|
- |
|
||||||
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
|
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
|
||||||
cd tests
|
|
||||||
codecept build
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
cd web
|
cd web
|
||||||
php -S localhost:8080 > /dev/null 2>&1 &
|
php -S localhost:8080 > /dev/null 2>&1 &
|
||||||
cd ../tests
|
|
||||||
codecept run
|
codecept run
|
||||||
|
20
composer.lock
generated
20
composer.lock
generated
@ -257,16 +257,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ezyang/htmlpurifier",
|
"name": "ezyang/htmlpurifier",
|
||||||
"version": "v4.7.0",
|
"version": "v4.8.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/ezyang/htmlpurifier.git",
|
"url": "https://github.com/ezyang/htmlpurifier.git",
|
||||||
"reference": "ae1828d955112356f7677c465f94f7deb7d27a40"
|
"reference": "d0c392f77d2f2a3dcf7fcb79e2a1e2b8804e75b2"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/ae1828d955112356f7677c465f94f7deb7d27a40",
|
"url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/d0c392f77d2f2a3dcf7fcb79e2a1e2b8804e75b2",
|
||||||
"reference": "ae1828d955112356f7677c465f94f7deb7d27a40",
|
"reference": "d0c392f77d2f2a3dcf7fcb79e2a1e2b8804e75b2",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -297,7 +297,7 @@
|
|||||||
"keywords": [
|
"keywords": [
|
||||||
"html"
|
"html"
|
||||||
],
|
],
|
||||||
"time": "2015-08-05 01:03:42"
|
"time": "2016-07-16 12:58:58"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "swiftmailer/swiftmailer",
|
"name": "swiftmailer/swiftmailer",
|
||||||
@ -624,16 +624,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "codeception/verify",
|
"name": "codeception/verify",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Codeception/Verify.git",
|
"url": "https://github.com/Codeception/Verify.git",
|
||||||
"reference": "d3721cfc668d96b41acbda3ecd01d3499381db64"
|
"reference": "dc19c8722f3756341e5b0ce0590f09fda1d63719"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/Codeception/Verify/zipball/d3721cfc668d96b41acbda3ecd01d3499381db64",
|
"url": "https://api.github.com/repos/Codeception/Verify/zipball/dc19c8722f3756341e5b0ce0590f09fda1d63719",
|
||||||
"reference": "d3721cfc668d96b41acbda3ecd01d3499381db64",
|
"reference": "dc19c8722f3756341e5b0ce0590f09fda1d63719",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
@ -653,7 +653,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "BDD assertion library for PHPUnit",
|
"description": "BDD assertion library for PHPUnit",
|
||||||
"time": "2015-11-26 23:23:25"
|
"time": "2016-07-13 09:34:15"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fzaninotto/faker",
|
"name": "fzaninotto/faker",
|
||||||
|
@ -6,7 +6,6 @@ class AboutCest
|
|||||||
public function ensureThatAboutWorks(AcceptanceTester $I)
|
public function ensureThatAboutWorks(AcceptanceTester $I)
|
||||||
{
|
{
|
||||||
$I->amOnPage(Url::toRoute('/site/about'));
|
$I->amOnPage(Url::toRoute('/site/about'));
|
||||||
$I->pauseExecution();
|
|
||||||
$I->see('About', 'h1');
|
$I->see('About', 'h1');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user