Skip to content

Commit 65d298a

Browse files
committed
Merge branch 'develop' of github.com:snipe/snipe-it into develop
Conflicts: .travis.yml
2 parents 04f23ef + 507b6e5 commit 65d298a

File tree

2 files changed

+37
-19
lines changed

2 files changed

+37
-19
lines changed

.travis.yml

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,36 @@
1+
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
12
language: php
3+
4+
# list any PHP version you want to test against
25
php:
3-
- 5.4
4-
- 5.5
5-
- 5.6
6+
- 5.4
7+
- 5.5
8+
- 5.6
9+
10+
# optionally specify a list of environments, for example to test different RDBMS
611
env:
7-
- DB=mysql
12+
- DB=mysql
13+
14+
# execute any number of scripts before the test run, custom env's are available as variables
815
before_script:
9-
- if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS snipeit_laravel;"
10-
-utravis; fi
11-
- curl -s http://getcomposer.org/installer | php
12-
- cp app/config/production/database.example.php app/config/database.php
13-
- cp app/config/production/mail.example.php app/config/mail.php
14-
- php composer.phar self-update
15-
- php composer.phar install --prefer-source --no-interaction --dev
16-
- php artisan key:generate
17-
- php artisan migrate:install
18-
- php artisan migrate --package cartalyst/sentry
19-
- php artisan migrate
20-
- php artisan db:seed
16+
- if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS snipeit_laravel;" -utravis; fi
17+
- curl -s http://getcomposer.org/installer | php
18+
- cp app/config/production/database.example.php app/config/database.php
19+
- cp app/config/production/mail.example.php app/config/mail.php
20+
- php composer.phar self-update
21+
- php composer.phar validate
22+
- php composer.phar install --prefer-source --no-interaction --dev
23+
- php artisan key:generate
24+
- php artisan migrate:install
25+
- php artisan migrate --package cartalyst/sentry
26+
- php artisan migrate
27+
- php artisan db:seed
28+
29+
# omitting "script:" will default to phpunit
30+
# use the $DB env variable to determine the phpunit.xml to use
2131
script: phpunit
32+
33+
# configure notifications (email, IRC, campfire etc)
2234
notifications:
2335
slack:
2436
secure: vv9we1RxB9RsrMbomSdq6D7vz/okobw87pEkgIZjB+hj1QpQ2by90gsPsOa+NgsJEFaEP7e4KlT6SH8kK+zhbmuKaUd3d1//XdcancE22LZXi6tkiB5yuR/Jhhb1LLDqyGJTB4D92hMnnCPiUjpxNA3r437ttNeYRdYIEEP3drA=

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
2-
"name": "laravel/laravel",
3-
"description": "The Laravel Framework.",
4-
"keywords": ["framework", "laravel"],
2+
"name": "snipe/snipe-it",
3+
"description": "A free open source IT asset/license management system built in PHP on Laravel 4.1 and Bootstrap 3.",
4+
"keywords": ["framework", "laravel", "assets", "IT", "management"],
5+
"homepage": "http://snipeitapp.com/",
6+
"license": "AGPL-3.0",
7+
"support": {
8+
"issues": "https://github.com/snipe/snipe-it/issues",
9+
"source": "https://github.com/snipe/snipe-it"
10+
},
511
"require": {
612
"laravel/framework": "4.1.*",
713
"cartalyst/sentry": "2.0.*",

0 commit comments

Comments
 (0)