Created
July 30, 2017 18:23
-
-
Save henrypalacios/590f4625cc4d0dfaa4b45cee655eba85 to your computer and use it in GitHub Desktop.
Codeship config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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