| Tests | Releases | Downloads | Dependencies | | ----- | -------- | ------- | ------------- | --------- | ------------ | | | B | C | |
bower install
composer install
sh compile.sh
Usando la basic auth su json-rest-api, bisogna mettere nel .htaccess:
# basic auth
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
bundle o gem install mailcatcher
la parte web: http://127.0.0.1:1080/, nei test vengono cancellate automaticamente le email!
Da provare come alternativa: https://github.com/mailhog/MailHog forse funziona meglio con travis (sample: https://gist.github.com/varghesejacob/68caf7aeee53305a1ffa#file-mailhog-bash-script) oppure https://github.com/alexandresalome/mailcatcher alcuni stanno integrando mailcatcher con behat
Caso test specifico
phpunit --filter testStep1
Caso gruppo di test
phpunit --group remoteTasks
- https://coderwall.com/p/5mtq6q/encrypt-your-code-climate-repo-token-for-public-repositories-on-travis-ci
- http://edorian.github.io/php-coding-standard-generator/#phpmd
php -i | grep 'Configuration File'
result:
Configuration File (php.ini) Path => /usr/local/etc/php/5.4
Loaded Configuration File => /usr/local/etc/php/5.4/php.ini
nel file /usr/local/etc/php/5.4/php.ini assicurarsi che ci sia :
sendmail_path = /usr/bin/env catchmail -f [email protected]
php vendor/clue/graph-composer/bin/graph-composer export . --format=png export.png
assicurarsi di usare curl,sqlite e le varie dipendenze di homebrew correttamente linkate da homebrew (brew link ??)
phpbrew -d install 5.3.29 +mbstring +imap +ctype +pdo +mysql +pcntl +posix +readline +json +intl +cgi +sqlite +openssl +zip +gd +ipc +bz2 +mcrypt +cli +dom +filter +pcre +inifile +fileinfo +mhash +zlib -- --with-curl=/usr/local/