Last active
December 28, 2015 07:49
-
-
Save cirpo/7466942 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
memory_limit=2048M |
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.4 | |
before_script: | |
- phpenv config-add php_travis.ini | |
- echo 'memory_limit = "2048M"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini | |
- phpenv rehash | |
- mysql -e 'create database namshi_ae_test;' | |
- mysql -e 'create database namshi_sa_test;' | |
- mysql -e 'create database namshi_intl_test;' | |
- mysql -e 'create database namshi_shared_test;' | |
- mysql -e 'create database jerry_test;' | |
- cd cerberus | |
- cp app/config/parameters.yml.example app/config/parameters.yml | |
- composer self-update | |
- composer install --dev --prefer-source | |
- php app/console namshi:tests:prepare --env=test | |
- mkdir -p /tmp/qatar-ids/optimized | |
- chmod -R 777 app/logs app/cache /tmp/qatar-ids /tmp/qatar-ids/optimized | |
- sudo apt-get install -y wkhtmltopdf | |
- sudo rabbitmqctl add_vhost dev | |
- sudo rabbitmqctl set_permissions -p dev guest '.*' '.*' '.*' | |
script: phpunit --exclude-group travis -c app/phpunit-ae.xml | |
source_key: LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb3dJQkFBSXFXL3ltUGdSOFo1K0NtOHZFMGtKT | |
branches: | |
only: | |
- travis-cirpo | |
services: | |
- rabbitmq # will start rabbitmq-server | |
- memcached # will start memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment