mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 00:54:29 -04:00
Working on TravisCI
This commit is contained in:
parent
f060798721
commit
d3dce0f3a5
@ -8,6 +8,10 @@ php:
|
|||||||
# - 7.0
|
# - 7.0
|
||||||
# - hhvm
|
# - hhvm
|
||||||
|
|
||||||
|
addons:
|
||||||
|
hosts:
|
||||||
|
- localhost
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- vendor
|
- vendor
|
||||||
@ -47,13 +51,13 @@ before_script:
|
|||||||
- php artisan db:seed --no-interaction # default seed
|
- php artisan db:seed --no-interaction # default seed
|
||||||
- php artisan db:seed --no-interaction --class=UserTableSeeder # development seed
|
- php artisan db:seed --no-interaction --class=UserTableSeeder # development seed
|
||||||
# Start webserver on ninja.dev:8000
|
# Start webserver on ninja.dev:8000
|
||||||
- php artisan serve --port=8000 & # '&' allows to run in background
|
- php artisan serve --host=localhost --port=8000 & # '&' allows to run in background
|
||||||
# Start PhantomJS
|
# Start PhantomJS
|
||||||
- phantomjs --webdriver=4444 & # '&' allows to run in background
|
- phantomjs --webdriver=4444 & # '&' allows to run in background
|
||||||
# Give it some time to start
|
# Give it some time to start
|
||||||
- sleep 5
|
- sleep 5
|
||||||
# Make sure the app is up-to-date
|
# Make sure the app is up-to-date
|
||||||
- curl -L http://127.0.0.1:8000/update
|
- curl -L http://localhost:8000/update
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- php ./vendor/codeception/codeception/codecept run --html --debug
|
- php ./vendor/codeception/codeception/codecept run --html --debug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user