-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from mangoweb-sylius/pr/travis
Travis CI
- Loading branch information
Showing
89 changed files
with
693 additions
and
971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
imports: | ||
- vendor/sylius/sylius/behat.yml.dist | ||
- vendor/sylius/sylius/src/Sylius/Behat/Resources/config/suites.yml | ||
- tests/Behat/Resources/suites.yml | ||
|
||
default: | ||
extensions: | ||
FriendsOfBehat\ContextServiceExtension: | ||
imports: | ||
- vendor/sylius/sylius/src/Sylius/Behat/Resources/config/services.xml | ||
- tests/Behat/Resources/services.xml | ||
Lakion\Behat\MinkDebugExtension: | ||
directory: etc/build | ||
clean_start: false | ||
screenshot: true | ||
|
||
Behat\MinkExtension: | ||
base_url: "http://localhost:8080/" | ||
default_session: symfony | ||
sessions: | ||
symfony: | ||
symfony: ~ | ||
|
||
FriendsOfBehat\SymfonyExtension: | ||
bootstrap: tests/Application/config/bootstrap.php | ||
kernel: | ||
class: \App\Kernel | ||
path: tests/Application/src/Kernel.php | ||
bootstrap: vendor/autoload.php | ||
env: test | ||
class: Tests\MangoSylius\ExtendedChannelsPlugin\Application\Kernel | ||
|
||
Behat\MinkExtension: | ||
base_url: "http://localhost:8000/" | ||
default_session: symfony | ||
FriendsOfBehat\VariadicExtension: ~ | ||
|
||
FriendsOfBehat\SuiteSettingsExtension: | ||
paths: | ||
- "features" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
|
||
{ | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"node": "6" | ||
}, | ||
"useBuiltIns": true | ||
}] | ||
], | ||
"plugins": [ | ||
["transform-object-rest-spread", { | ||
"useBuiltIns": true | ||
}] | ||
] | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"node": "6" | ||
}, | ||
"useBuiltIns": true | ||
}] | ||
], | ||
"plugins": [ | ||
["transform-object-rest-spread", { | ||
"useBuiltIns": true | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
# This file is a "template" of which env vars need to be defined for your application | ||
# Copy this file to .env file for development, create environment variables when deploying to production | ||
# This file is a "template" of which env vars needs to be defined in your configuration or in an .env file | ||
# Set variables here that may be different on each deployment target of the app, e.g. development, staging, production. | ||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration | ||
|
||
###> symfony/framework-bundle ### | ||
APP_ENV=dev | ||
APP_SECRET=de8fad07a7c13ea682ad37d41b14516d | ||
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2 | ||
#TRUSTED_HOSTS=localhost,example.com | ||
APP_DEBUG=1 | ||
APP_SECRET=EDITME | ||
###< symfony/framework-bundle ### | ||
|
||
###> doctrine/doctrine-bundle ### | ||
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url | ||
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" | ||
# Configure your db driver and server_version in config/packages/doctrine.yaml | ||
# For a sqlite database, use: "sqlite:///%kernel.project_dir%/var/data.db" | ||
# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls | ||
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name | ||
###< doctrine/doctrine-bundle ### | ||
|
||
###> symfony/swiftmailer-bundle ### | ||
# For Gmail as a transport, use: "gmail://username:password@localhost" | ||
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" | ||
# Delivery is disabled by default via "null://localhost" | ||
MAILER_URL=null://localhost | ||
MAILER_URL=smtp://localhost | ||
###< symfony/swiftmailer-bundle ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
APP_SECRET='ch4mb3r0f5ecr3ts' | ||
|
||
KERNEL_CLASS='Tests\MangoSylius\ExtendedChannelsPlugin\Application\Kernel' | ||
|
||
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
extends: 'airbnb-base', | ||
env: { | ||
node: true, | ||
}, | ||
rules: { | ||
'object-shorthand': ['error', 'always', { | ||
avoidQuotes: true, | ||
avoidExplicitReturnArrows: true, | ||
}], | ||
'function-paren-newline': ['error', 'consistent'], | ||
'max-len': ['warn', 120, 2, { | ||
ignoreUrls: true, | ||
ignoreComments: false, | ||
ignoreRegExpLiterals: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
}], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
/public/assets | ||
/public/css | ||
/public/js | ||
/public/media/* | ||
!/public/media/image/ | ||
/public/media/image/* | ||
!/public/media/image/.gitignore | ||
|
||
/node_modules | ||
|
||
###> symfony/framework-bundle ### | ||
/public/bundles/ | ||
/public/assets/ | ||
/.env.*.local | ||
/.env.local | ||
/.env.local.php | ||
/public/bundles | ||
/var/ | ||
/vendor/ | ||
###< symfony/framework-bundle ### | ||
|
||
###> symfony/phpunit-bridge ### | ||
.phpunit | ||
/phpunit.xml | ||
###< symfony/phpunit-bridge ### | ||
|
||
###> symfony/web-server-bundle ### | ||
/.web-server-pid | ||
###< symfony/web-server-bundle ### | ||
|
||
.env | ||
/node_modules/ | ||
|
||
!/public/media/image/.gitkeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.