Skip to content

Commit

Permalink
Travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomarinho committed Nov 27, 2016
1 parent e7dd5dd commit 0012171
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
language: php

php:
- 5.6
- 7.0
- hhvm

addons:
hosts:
- app.gitscrum.dev

install:
- travis_retry composer self-update
- travis_retry composer clear-cache
- travis_retry composer install
- mysql -e 'create database develop;' -uroot
- mysql -e "grant all privileges on *.* to 'travis'@'localhost' with grant option;" -uroot

before_script:

script:

after_script:
- php artisan migrate --seed

matrix:
fast_finish: true
2 changes: 1 addition & 1 deletion database/seeds/ConfigStatusesTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function run()
'default' => null,
),
8 => array(
'id' => 8,
'id' => 9,
'slug' => 'attachment-added',
'type' => 'attachment',
'title' => 'Added',
Expand Down
3 changes: 1 addition & 2 deletions tests/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class ExampleTest extends TestCase
*/
public function testBasicExample()
{
$this->visit('/')
->see('Laravel');

}
}

0 comments on commit 0012171

Please sign in to comment.