Copy of Nextcloud richdocuments app, but with modifications so all traffic goes over clearnet/CJDNS/Tor/I2P/whatever instead of having a single default hostname.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

64 lines
1.6 KiB

  1. # see http://about.travis-ci.org/docs/user/languages/php/ for more hints
  2. language: php
  3. # list any PHP version you want to test against
  4. php:
  5. # using major version aliases
  6. # aliased to a recent 5.3.x version
  7. - 5.3
  8. # aliased to a recent 5.4.x version
  9. - 5.4
  10. # aliased to a recent 5.5.x version
  11. - 5.5
  12. # optionally specify a list of environments, for example to test different RDBMS
  13. #env:
  14. # - DB=mysql
  15. # - DB=pgsql
  16. env:
  17. global:
  18. - CORE_BRANCH=master
  19. matrix:
  20. - DB=sqlite
  21. branches:
  22. only:
  23. - master
  24. before_install:
  25. - wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh
  26. - bash ./before_install.sh documents $CORE_BRANCH $DB
  27. # execute any number of scripts before the test run, custom env's are available as variables
  28. #before_script:
  29. # - if [[ "$DB" == "pgsql" ]]; then psql -c "DROP DATABASE IF EXISTS hello_world_test;" -U postgres; fi
  30. # - if [[ "$DB" == "pgsql" ]]; then psql -c "create database hello_world_test;" -U postgres; fi
  31. # - if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS hello_world_test;" -uroot; fi
  32. # omitting "script:" will default to phpunit
  33. script:
  34. # Test lint
  35. - cd ../core/apps/documents
  36. - sh -c "if [ '$DB' = 'sqlite' ]; then ant test; fi"
  37. # Run phpunit tests
  38. - cd tests
  39. - phpunit --configuration phpunit.xml
  40. # Create coverage report
  41. - wget https://scrutinizer-ci.com/ocular.phar
  42. - php ocular.phar code-coverage:upload --format=php-clover clover.xml
  43. matrix:
  44. include:
  45. - php: 5.4
  46. env: DB=mysql
  47. - php: 5.4
  48. env: DB=pgsql
  49. - php: 5.4
  50. env: DB=oracle
  51. allow_failures:
  52. - php: hhvm
  53. fast_finish: true