Created
February 2, 2015 21:47
-
-
Save lenybernard/db83a8f33219267bdf3a to your computer and use it in GitHub Desktop.
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
| language: php | |
| php: | |
| - 5.5 | |
| - 5.6 | |
| before_script: | |
| - npm install less | |
| - composer install --dev --prefer-dist | |
| # Prepare database | |
| - php Tests/Functionnal/bin/console --env=test doctrine:database:create | |
| - php Tests/Functionnal/bin/console --env=test cache:warmup | |
| - php Tests/Functionnal/bin/console --env=test doctrine:schema:create | |
| - php Tests/Functionnal/bin/console --env=test victoire:generate:view | |
| - php Tests/Functionnal/bin/console --env=test doctrine:fixtures:load --fixtures="Bundle/CoreBundle/DataFixtures/ORM" -n --append | |
| - php Tests/Functionnal/bin/console --env=test assets:install Tests/Functionnal/web | |
| - php Tests/Functionnal/bin/console --env=test assetic:dump | |
| - nohup php Tests/Functionnal/bin/console --env=test server:run -r vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_prod.php & | |
| # Run selenium server | |
| - "sh -e /etc/init.d/xvfb start" | |
| - "export DISPLAY=:99.0" | |
| - "wget http://selenium-release.storage.googleapis.com/2.44/selenium-server-standalone-2.44.0.jar" | |
| - "nohup java -jar selenium-server-standalone-2.44.0.jar > /dev/null &" | |
| - sleep 5 | |
| after_script: | |
| - php Tests/Functionnal/bin/console --env=test doctrine:database:drop --force | |
| script: | |
| - 'phpunit --coverage-text' | |
| - './vendor/bin/behat' | |
| notifications: | |
| hipchat: | |
| rooms: | |
| - 32c78704ec6fd7ad1445cf106d1107@Victoire |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment