mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Updated Travis config
This commit is contained in:
parent
e6141abde4
commit
c9f38699d2
@ -54,13 +54,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 --host=ninja.dev & # '&' 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
|
||||||
# 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://ninja.dev/update
|
- curl -L http://ninja.dev:8000/update
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- php ./vendor/codeception/codeception/codecept run --debug acceptance AllPagesCept.php
|
- php ./vendor/codeception/codeception/codecept run --debug acceptance AllPagesCept.php
|
||||||
|
@ -72,7 +72,7 @@ class Utils
|
|||||||
|
|
||||||
public static function requireHTTPS()
|
public static function requireHTTPS()
|
||||||
{
|
{
|
||||||
if (Request::root() === 'http://ninja.dev') {
|
if (Request::root() === 'http://ninja.dev:8000') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// This is global bootstrap for autoloading
|
// This is global bootstrap for autoloading
|
||||||
use Codeception\Util\Fixtures;
|
use Codeception\Util\Fixtures;
|
||||||
|
|
||||||
Fixtures::add('url', 'http://ninja.dev');
|
Fixtures::add('url', 'http://ninja.dev:8000');
|
||||||
Fixtures::add('username', 'user@example.com');
|
Fixtures::add('username', 'user@example.com');
|
||||||
Fixtures::add('password', 'password');
|
Fixtures::add('password', 'password');
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ class_name: AcceptanceTester
|
|||||||
modules:
|
modules:
|
||||||
enabled:
|
enabled:
|
||||||
- WebDriver:
|
- WebDriver:
|
||||||
url: 'http://ninja.dev/'
|
url: 'http://ninja.dev:8000/'
|
||||||
window_size: 1024x768
|
window_size: 1024x768
|
||||||
wait: 5
|
wait: 5
|
||||||
browser: firefox
|
browser: firefox
|
||||||
|
@ -9,7 +9,7 @@ modules:
|
|||||||
enabled:
|
enabled:
|
||||||
- \Helper\Functional
|
- \Helper\Functional
|
||||||
- PhpBrowser:
|
- PhpBrowser:
|
||||||
url: 'http://ninja.dev'
|
url: 'http://ninja.dev:8000'
|
||||||
curl:
|
curl:
|
||||||
CURLOPT_RETURNTRANSFER: true
|
CURLOPT_RETURNTRANSFER: true
|
||||||
- Laravel5:
|
- Laravel5:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user