1

I have a Laravel 4.2 with MySQL web application integrated on bitbucket and decided to use Codeship for continuous integration.

When build executes on Codeship it says, '.. access denied for user root@localhost ..'

Here's my Codeship commands:

# Set php version through phpenv. 5.3, 5.4 and 5.5 available
phpenv local 5.4
# Install extensions through Pecl
# yes yes | pecl install memcache
# Install dependencies through Composer
composer install --prefer-source --no-interaction

Here's the Codeship test command:

phpunit

Thanks!

jaym
  • 470
  • 1
  • 6
  • 17

1 Answers1

0

SOLVED:
Setup Commands

# Set php version through phpenv. 5.3, 5.4 and 5.5 available
phpenv local 5.4
# Install extensions through Pecl
# yes yes | pecl install memcache
# Install dependencies through Composer
composer install --prefer-source --no-interaction
php artisan migrate
php artisan db:seed

Test Command(s)

phpunit

Environment Variables

APP_ENV = codeship 
APP_HOST = localhost 
APP_DB = test 
Martin.
  • 10,494
  • 3
  • 42
  • 68
jaym
  • 470
  • 1
  • 6
  • 17