No Description
unmaintained
php
codeigniter
task-manager

.travis.yml 886B

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