mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on TravisCI
This commit is contained in:
parent
f29d767800
commit
f8d5993337
@ -1,6 +1,6 @@
|
|||||||
language: php
|
language: php
|
||||||
|
|
||||||
sudo: required
|
sudo: false
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.5
|
- 5.5
|
||||||
@ -27,7 +27,6 @@ before_install:
|
|||||||
# set GitHub token and update composer
|
# set GitHub token and update composer
|
||||||
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
|
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;
|
||||||
- composer self-update && composer -V
|
- composer self-update && composer -V
|
||||||
- sudo apt-get install -y phantomjs screen
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# install Composer dependencies
|
# install Composer dependencies
|
||||||
@ -52,10 +51,9 @@ 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 --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
|
# Start PhantomJS
|
||||||
#- phantomjs --webdriver=4444 & # '&' allows to run in background
|
- phantomjs --webdriver=4444 & # '&' allows to run in background
|
||||||
- screen -S server -d -m phantomjs --webdriver=4444
|
|
||||||
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user