SHARE
TWEET

Untitled

a guest Jan 26th, 2019 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. image: php:7.2-apache
  2.  
  3. services:
  4.   - andrioshe/mysql-ah:latest
  5.  
  6. variables:
  7.   MYSQL_USER: root
  8.   MYSQL_DATABASE: auctionhouse
  9.   MYSQL_ROOT_PASSWORD: root
  10.  
  11. cache:
  12.   paths:
  13.   - vendor/
  14.   - node_modules/
  15.  
  16. before_script:
  17. # Install all dependencies
  18.   - apt-get update -yqq
  19.   - apt-get install gnupg -yqq
  20.   - curl -sL https://deb.nodesource.com/setup_10.x | bash -
  21.   - apt-get install git zip libpng-dev wget gnupg nodejs -yqq
  22.   - pecl install xdebug-2.6.1
  23.   - docker-php-ext-enable xdebug
  24.   - docker-php-ext-install gd zip pdo pdo_mysql
  25.   - cd app/
  26.   - curl -sS https://getcomposer.org/installer | php
  27.   - php composer.phar install
  28.   - echo "date.timezone=Europe/Berlin" > /usr/local/etc/php/conf.d/date.ini
  29.   - echo "display_startup_errors=1" > /usr/local/etc/php/conf.d/errors.ini
  30.   - echo "memory_limit=2G" > /usr/local/etc/php/conf.d/memoryLimit.ini
  31. #  - npm install
  32.   - pwd
  33.   - php artisan migrate --seed --force
  34.   # - mv .env.example .env
  35. #  - npm run dev
  36.   - php artisan jwt:secret
  37.   - php artisan key:generate
  38.  
  39. test:
  40.   script:
  41.   - php vendor/bin/phpunit --coverage-text --colors=never
  42. #  - npm test
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top