Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
b7800eca
Commit
b7800eca
authored
Jan 05, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabled acceptance tests for basic application
parent
5f7653b0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
.travis.yml
.travis.yml
+6
-3
acceptance.suite.yml
apps/basic/tests/acceptance.suite.yml
+1
-1
No files found.
.travis.yml
View file @
b7800eca
...
@@ -12,8 +12,8 @@ services:
...
@@ -12,8 +12,8 @@ services:
-
mongodb
-
mongodb
install
:
install
:
# core framework:
-
composer self-update && composer --version
-
composer self-update && composer --version
# core framework:
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
# - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
-
composer install --prefer-dist
-
composer install --prefer-dist
-
tests/unit/data/travis/mongodb-setup.sh
-
tests/unit/data/travis/mongodb-setup.sh
...
@@ -23,6 +23,8 @@ install:
...
@@ -23,6 +23,8 @@ install:
# basic application:
# basic application:
-
composer install --dev --prefer-dist -d apps/basic
-
composer install --dev --prefer-dist -d apps/basic
-
cd apps/basic && php vendor/bin/codecept build && cd ../..
-
cd apps/basic && php vendor/bin/codecept build && cd ../..
-
cd apps/basic/web && php -S localhost:8080 &
-
cd ../../..
before_script
:
before_script
:
-
echo 'elasticsearch version ' && curl http://localhost:9200/
-
echo 'elasticsearch version ' && curl http://localhost:9200/
...
@@ -32,8 +34,9 @@ before_script:
...
@@ -32,8 +34,9 @@ before_script:
-
mongo yii2test --eval 'db.addUser("travis", "test");'
-
mongo yii2test --eval 'db.addUser("travis", "test");'
script
:
script
:
-
vendor/bin/phpunit --coverage-text --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor
# - vendor/bin/phpunit --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor
-
cd apps/basic && php vendor/bin/codecept run functional && cd ../..
-
vendor/bin/phpunit --verbose --exclude-group mssql,oci,wincache,xcache,zenddata,vendor
-
cd apps/basic && php vendor/bin/codecept run && cd ../..
#after_script:
#after_script:
# - php vendor/bin/coveralls
# - php vendor/bin/coveralls
apps/basic/tests/acceptance.suite.yml
View file @
b7800eca
...
@@ -18,7 +18,7 @@ modules:
...
@@ -18,7 +18,7 @@ modules:
# - WebDriver
# - WebDriver
config
:
config
:
PhpBrowser
:
PhpBrowser
:
url
:
'
http://localhost'
url
:
'
http://localhost
:8080
'
# WebDriver:
# WebDriver:
# url: 'http://localhost'
# url: 'http://localhost'
# browser: firefox
# browser: firefox
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment