Skip to content

Commit d2b36fd

Browse files
authored
Merge pull request #3 from smartboxgroup/feature/travis-ci
Feature/travis ci
2 parents 8b1d375 + a54b515 commit d2b36fd

4 files changed

Lines changed: 38 additions & 13 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ Tests/App/logs/*
55
# Composer
66
/vendor/
77
/bin/
8+
composer.lock
89

910
# IDE files
1011
/.idea
1112

1213
# Coverage report files
1314
/.coverage
15+
16+
# MacOS
17+
.DS_Store

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: php
2+
3+
php:
4+
- 5.6
5+
- 7.0
6+
- 7.1
7+
8+
env:
9+
- SYMFONY_VERSION=2.7.*
10+
11+
before_script:
12+
- composer self-update
13+
- composer install --prefer-dist --no-interaction
14+
15+
script:
16+
- bin/phpunit --coverage-text --debug
17+
18+
notifications:
19+
email:
20+
recipients:
21+
- si-integration@smartandco.com
22+
on_success: change
23+
on_failure: always

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# SmartboxCoreBundle
22
Core features
33

4+
[![Latest Stable Version](https://img.shields.io/packagist/v/smartbox/core-bundle.svg?style=flat-square)](https://packagist.org/packages/smartbox/core-bundle)
5+
[![Minimum PHP Version](https://img.shields.io/badge/php-~%207.0-8892BF.svg?style=flat-square)](https://php.net/)
6+
[![Build Status](https://travis-ci.org/smartbox/core-bundle.svg?branch=master)](https://travis-ci.org/smartbox/core-bundle)
7+
48
## Installation and usage
59
To install the bundle, you just need to:
610

@@ -9,12 +13,6 @@ To install the bundle, you just need to:
913
"require": {
1014
"smartbox/core-bundle": "dev-master"
1115
},
12-
"repositories": [
13-
{
14-
"type": "vcs",
15-
"url": "git@gitlab.production.smartbox.com:smartesb/core-bundle.git"
16-
}
17-
],
1816
```
1917

2018
2. Add it to your AppKernel.php file
@@ -126,5 +124,5 @@ Check out the small test app within Tests/Fixtures/app
126124
## History
127125

128126
## Contributors
129-
Jose Rufino, Marcin Skurski, Luciano Mammino, Alberto Rodrigo, David Camprubi, Arthur Thevenet
127+
Jose Rufino, Marcin Skurski, Luciano Mammino, Alberto Rodrigo, David Camprubi, Arthur Thevenet, Bertrand Drouhard, Mel McCann, Shane McKinley.
130128

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
},
1111
"require": {
1212
"php": ">=5.6",
13-
"symfony/symfony": ">=2.7.0",
14-
"symfony/monolog-bundle": ">=2.4",
15-
"sensio/distribution-bundle": ">=4.0",
16-
"sensio/framework-extra-bundle": ">=3.0",
17-
"jms/serializer-bundle": ">=0.13.0",
18-
"doctrine/annotations": ">=1.2.0"
13+
"symfony/symfony": "~2.7.0",
14+
"symfony/monolog-bundle": "~2.4",
15+
"sensio/distribution-bundle": "~4.0",
16+
"sensio/framework-extra-bundle": "~3.0",
17+
"jms/serializer-bundle": "~0.13.0",
18+
"doctrine/annotations": "~1.2.0"
1919
},
2020
"require-dev": {
2121
"phpunit/php-code-coverage": "~4.0",

0 commit comments

Comments
 (0)