Updated travis config to prevent failing

Currently failing due to cached vendor config
This commit is contained in:
Dan Brown 2016-08-27 10:47:21 +01:00
parent 7973412c29
commit 2c13ffc120
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
2 changed files with 25 additions and 26 deletions

View File

@ -6,7 +6,6 @@ php:
cache: cache:
directories: directories:
- vendor
- node_modules - node_modules
- $HOME/.composer/cache - $HOME/.composer/cache
@ -29,6 +28,8 @@ before_script:
- composer install --prefer-dist --no-interaction - composer install --prefer-dist --no-interaction
- npm install - npm install
- ./node_modules/.bin/gulp - ./node_modules/.bin/gulp
- php artisan clear-compiled -n
- php artisan optimize -n
- php artisan migrate --force -n --database=mysql_testing - php artisan migrate --force -n --database=mysql_testing
- php artisan db:seed --force -n --class=DummyContentSeeder --database=mysql_testing - php artisan db:seed --force -n --class=DummyContentSeeder --database=mysql_testing

View File

@ -2,7 +2,6 @@
use BookStack\Ownable; use BookStack\Ownable;
if (!function_exists('versioned_asset')) {
/** /**
* Get the path to a versioned file. * Get the path to a versioned file.
* *
@ -29,7 +28,6 @@ if (!function_exists('versioned_asset')) {
throw new InvalidArgumentException("File {$file} not defined in asset manifest."); throw new InvalidArgumentException("File {$file} not defined in asset manifest.");
} }
}
/** /**
* Check if the current user has a permission. * Check if the current user has a permission.