Skip to content
This repository has been archived by the owner on Mar 13, 2019. It is now read-only.

Commit

Permalink
Switched deploy scripts to Doctrine cli
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelThessel committed Oct 23, 2015
1 parent 5ecca76 commit 86b393a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .openshift/action_hooks/deploy
Expand Up @@ -5,3 +5,6 @@ cp app/config.php.openshift app/config.php

echo "Installing dependencies"
php composer.phar install

echo "Updating database"
app/console orm:schema-tool:update --force
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -14,9 +14,7 @@ before_install:
- cp app/config.php.travisci app/config.php

# Set up the database
- mysql -e 'CREATE DATABASE IF NOT EXISTS `pwx`;' -u root
- mysql -e 'GRANT ALL ON `pwx`.* TO `pwx`@`localhost` IDENTIFIED BY "pwx";' -u root
- cat install/install.sql | mysql pwx -u root
- app/console orm:schema-tool:create

script:
# Run phpunit
Expand Down

0 comments on commit 86b393a

Please sign in to comment.