No Description
unmaintained
php
codeigniter
task-manager

.travis.yml 874B

123456789101112131415161718192021222324252627282930313233343536
  1. language: php
  2. php:
  3. - 5.5
  4. - 5.6
  5. - hhvm
  6. install:
  7. - composer install
  8. env:
  9. - DB=mysql
  10. - DB=pgsql
  11. before_script:
  12. - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS todo_test;' -U postgres; fi"
  13. - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database todo_test;' -U postgres; fi"
  14. - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS todo_test;'; fi";
  15. - export ENVRIONMENT=testing-${DB}
  16. script:
  17. - vendor/bin/phinx migrate -e testing -c tests/phinx/$DB.yml
  18. - mkdir -p build/logs
  19. - cd tests && phpunit --coverage-clover build/logs/clover.xml
  20. after_script:
  21. - wget https://scrutinizer-ci.com/ocular.phar
  22. - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
  23. matrix:
  24. exclude:
  25. - php: hhvm
  26. env: DB=pgsql
  27. allow_failures:
  28. - php: hhvm
  29. fast_finish: true