Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save henrypalacios/590f4625cc4d0dfaa4b45cee655eba85 to your computer and use it in GitHub Desktop.

Select an option

Save henrypalacios/590f4625cc4d0dfaa4b45cee655eba85 to your computer and use it in GitHub Desktop.
Codeship config
# We support all major PHP versions. Please see our documentation for a full list.
# https://documentation.codeship.com/basic/languages-frameworks/php/
# By default we use the latest PHP version from the 5.5 release branch, but Laravel requires at least version 5.6.4
phpenv local 7.0
mysql -e 'create database tests_christian_landing;'
#change in projects settings -> env variables -> add: COMPOSER_HOME | ${HOME}/cache/composer
composer install --prefer-dist --no-interaction
cp .env.codeship .env
php artisan migrate --force
php artisan key:generate
php artisan config:clear
# Install extensions via PECL
#pecl install -f memcache
# Prepare cache directory and install dependencies
#mkdir -p ./bootstrap/cache
#composer install --no-interaction
# Prepare the test database
#php artisan migrate
# vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment