mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Working on TravisCI
This commit is contained in:
parent
f29d767800
commit
f8d5993337
@ -1,6 +1,6 @@
|
||||
language: php
|
||||
|
||||
sudo: required
|
||||
sudo: false
|
||||
|
||||
php:
|
||||
- 5.5
|
||||
@ -27,7 +27,6 @@ before_install:
|
||||
# set GitHub token and update composer
|
||||
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
|
||||
- composer self-update && composer -V
|
||||
- sudo apt-get install -y phantomjs screen
|
||||
|
||||
install:
|
||||
# install Composer dependencies
|
||||
@ -52,10 +51,9 @@ 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=8000 & # '&' 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
|
||||
- screen -S server -d -m phantomjs --webdriver=4444
|
||||
- phantomjs --webdriver=4444 & # '&' allows to run in background
|
||||
# Give it some time to start
|
||||
- sleep 5
|
||||
# Make sure the app is up-to-date
|
||||
|
Loading…
Reference in New Issue
Block a user