1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Working on TravisCI

This commit is contained in:
Hillel Coren 2016-02-17 21:34:29 +02:00
parent 7b735b9798
commit d651006ca1

View File

@ -31,10 +31,9 @@ before_install:
install:
# install Composer dependencies
- rm composer.lock
#- cat composer.json
# these providers require referencing git commit's which cause Travis to fail
- sed -i '/mollie/d' composer.json
- sed -i '/2checkout/d' composer.json
#- cat composer.json
- travis_retry composer install --prefer-dist;
before_script:
@ -49,13 +48,13 @@ before_script:
- php artisan db:seed --no-interaction # default seed
- php artisan db:seed --no-interaction --class=UserTableSeeder # development seed
# Start webserver on ninja.dev:8000
- php artisan serve --host=ninja.dev --port=80 & # '&' allows to run in background
- php artisan serve --host=ninja.dev --port=8000 & # '&' allows to run in background
# Start PhantomJS
- phantomjs --webdriver=4444 & # '&' allows to run in background
# Give it some time to start
- sleep 5
# Make sure the app is up-to-date
- curl -L http://ninja.dev/update
- curl -L http://ninja.dev:8000/update
script:
- php ./vendor/codeception/codeception/codecept run --html --debug