Guest User

Untitled

a guest
Jul 9th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. image: brettt89/silverstripe-web:7.1-platform
  2. pipelines:
  3. default:
  4. - step:
  5. services:
  6. - mysql
  7. caches:
  8. - composer
  9. script:
  10. - echo -e 'SS_ENVIRONMENT_TYPE="dev"\nSS_DATABASE_CLASS="MySQLDatabase"\nSS_DATABASE_USERNAME="root"\nSS_DATABASE_PASSWORD="password"\nSS_DATABASE_SERVER="127.0.0.1"\nSS_DATABASE_NAME="pipelines"' > .env
  11. - composer install
  12. - vendor/bin/phpunit
  13. definitions:
  14. services:
  15. mysql:
  16. image: mysql:5.7
  17. environment:
  18. MYSQL_DATABASE: 'pipelines'
  19. MYSQL_ROOT_PASSWORD: 'password'
Add Comment
Please, Sign In to add comment