Skip to content

Commit

Permalink
Init Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yemistikris committed Jan 30, 2016
1 parent 78d66f5 commit 42698da
Show file tree
Hide file tree
Showing 27 changed files with 4,613 additions and 45 deletions.
33 changes: 33 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
language: php
php:
- 5.5
- 5.6
- 7.0

services:
#- rabbitmq

before_script:
- composer self-update
- wget http://get.sensiolabs.org/php-cs-fixer.phar
- rm -rf app/cache/*
- cat app/config/parameters.yml.travis > app/config/parameters.yml
#- mysql -e 'create database IF NOT EXISTS sf_audio_test;' -u travis
#- sudo apt-get update -qq
#- sudo apt-get install python -y
#- sudo apt-get install -y mediainfo
#- whereis mediainfo
#- php app/console d:s:c --env=test


install:
#- composer install --prefer-dist --no-interaction

script:
- composer install -v
- composer ci:test-travis
#- phpunit -c app --debug --verbose
#- php php-cs-fixer.phar fix --no-interaction --dry-run --diff -vvv ./

notifications:
mail: true
70 changes: 70 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,71 @@
# Created by .ignore support plugin (hsz.mobi)
### OSX template
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Symfony template
# Cache and logs (Symfony2)
/app/cache/*
/app/logs/*
!app/cache/.gitkeep
!app/logs/.gitkeep

# Cache and logs (Symfony3)
/var/cache/*
/var/logs/*
!var/cache/.gitkeep
!var/logs/.gitkeep

# Parameters
/app/config/parameters.yml
/app/config/parameters.ini

# Managed by Composer
/app/bootstrap.php.cache
/var/bootstrap.php.cache
/bin/*
!bin/console
!bin/symfony_requirements
/vendor/
/.idea
/cov
/coverage
# Assets and user uploads
/web/bundles/
/web/uploads/


# Build data
/build/

# Composer PHAR
/composer.phar
### Composer template
composer.phar
vendor/

# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock

35 changes: 35 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
language: php
php:
- 5.5
- 5.6
- 7.0

services:
#- rabbitmq

before_script:
- composer self-update
- wget http://get.sensiolabs.org/php-cs-fixer.phar
- rm -rf app/cache/*
#- mysql -e 'create database IF NOT EXISTS sf_audio_test;' -u travis
#- sudo apt-get update -qq
#- sudo apt-get install python -y
#- sudo apt-get install -y mediainfo
#- whereis mediainfo
#- php app/console d:s:c --env=test


install:
#- composer install --prefer-dist --no-interaction

script:
- composer install -v
- composer ci:test-travis
#- phpunit -c app --debug --verbose
#- php php-cs-fixer.phar fix --no-interaction --dry-run --diff -vvv ./

after_success:
- travis_retry php vendor/bin/coveralls -v

notifications:
mail: true
4 changes: 2 additions & 2 deletions cli-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
use Doctrine\ORM\Tools\Console\ConsoleRunner;

// replace with file to your own project bootstrap
require_once '../../tests/bootstrap.php';
require_once 'tests/bootstrap.php';

// replace with mechanism to retrieve EntityManager in your app
$entityManager = GetEntityManager();
$entityManager = \AudioCoreEntity\Tests\Bootstrap::GetEntityManager();

return ConsoleRunner::createHelperSet($entityManager);
38 changes: 38 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "pyrex-fwi/audio-core-entities",
"description": "Core entities for Sapar audio project",
"authors": [
{
"name": "Christophe Pyree",
"email": "christophe.pyree@gmail.com"
}
],
"autoload": {
"psr-0": {
"AudioCoreEntity": "./src/",
"AudioCoreEntity\\Tests": "./tests/",
"SymfonyStandard": "app/"
},
"classmap": ["src/","./tests/"]
},
"scripts": {
"ci:test-travis": [
"phpunit --coverage-html=coverage"
],
"tests": [
"php vendor/bin/doctrine orm/info"
]
},
"require": {
"doctrine/orm": "~2.2,>=2.2.3,<2.5"
},
"require-dev": {
"symfony/doctrine-bridge": "^3.0",
"symfony/validator": "^3.0",
"symfony/serializer": "^3.0",
"symfony/yaml": "*",
"doctrine/data-fixtures": "^1.1",
"phpunit/phpunit": "^5.1",
"satooshi/php-coveralls": "^1.0"
}
}
Loading

0 comments on commit 42698da

Please sign in to comment.