mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 12:44:31 -04:00
Working on TravisCI
This commit is contained in:
parent
078736e9d2
commit
c3ba842273
@ -27,6 +27,7 @@ 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
|
||||||
@ -53,7 +54,8 @@ before_script:
|
|||||||
# 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
|
||||||
|
@ -10,10 +10,9 @@ modules:
|
|||||||
- WebDriver:
|
- WebDriver:
|
||||||
url: 'http://ninja.dev:8000'
|
url: 'http://ninja.dev:8000'
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
http_proxy: direct
|
|
||||||
window_size: 1024x768
|
window_size: 1024x768
|
||||||
wait: 5
|
wait: 5
|
||||||
browser: firefox
|
browser: phantomjs
|
||||||
capabilities:
|
capabilities:
|
||||||
unexpectedAlertBehaviour: 'accept'
|
unexpectedAlertBehaviour: 'accept'
|
||||||
webStorageEnabled: true
|
webStorageEnabled: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user