Skip to content

Travis CI configuration

Olivier Paroz edited this page Sep 6, 2015 · 1 revision

Here is a list of the key elements in the Travis CI configuration file

Environment

PHP versions

  • 5.4
  • 5.5
  • 5.6
  • 7
  • hhvm

hhvm is not officially supported

Extensions

  • Tidy (included)
  • Imagick (compiled with every run)
  • xdebug (compiled with every run)

Composer

  • All the dev packages are installed
  • Removing composer.lock in order to get the latest packages adds an extra 30-60 seconds to tests

Databases

  • sqlite
  • mysql
  • postgresql

Currently unnecessary since we don't store anything in the database

Core

  • master only
  • Uses core scripts from owncloud/administration

Travis features

  • Caching

Tests

PHP

  • jakub-onderka/php-parallel-lint for PHP lint
  • codeception/codeception BDD, integration and unit testing
  • codeception/phpbuiltinserver for the acceptance and api tests
  • codeception/c3 for api tests coverage
  • Selenium server is downloaded and launched on port 4444
  • Firefox is used for acceptance tests
  • Coverage report is generated on PHP 5.6 only
  • xdebug is disabled in all envs, except PHP 5.6

Documentation

  • phpdocumentor/phpdocumentor to generate the documentation from PHPDoc
  • Documentation is uploaded to gh-pages repository using build/documentation/docpublisher.sh bash script