Skip to content
Snippets Groups Projects
  1. Nov 15, 2014
  2. Nov 08, 2014
  3. Oct 16, 2014
  4. Sep 07, 2014
  5. Jul 06, 2014
    • Christian Kuhn's avatar
      [TASK] Travis-ci: Disable apc in PHP 5.3 · 685fbd63
      Christian Kuhn authored
      apc on cli seems to be flaky, disable this php module for
      now to see if that help stabilizing travis-ci builds again.
      
      Change-Id: I7e6caa6c2c2d70a26e217e8fbf10a2d79b01f335
      Releases: 6.3, 6.2
      Reviewed-on: https://review.typo3.org/31402
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      685fbd63
  6. Jun 29, 2014
    • Helmut Hummel's avatar
      [TASK] Improve travis notifications to channels · d43b2953
      Helmut Hummel authored
      By default travis notifies on each build when
      posting to channels (irc, slack)
      
      We can reduce the number of notifications by only
      posting successful builds when it previously failed.
      
      Additionally encrypt the API token for posting to slack.
      
      Releases: 6.3, 6.2, 6.1, 6.0, 4.7, 4.5
      Change-Id: I882d34903c972201454e6cc5b9041393e3bd3661
      Reviewed-on: https://review.typo3.org/31218
      Reviewed-by: Michael Stucki
      Tested-by: Michael Stucki
      d43b2953
    • Sebastian Bergmann's avatar
      [BUGFIX] Create required directories in test bootstrap · f0803359
      Sebastian Bergmann authored
      When running the core unit tests without setting up TYPO3
      using the normal installation procedure then the uploads,
      typo3temp, and typo3conf/ext directories do not exist.
      
      Resolves: #59977
      Releases: 6.3,6.2
      Change-Id: Ib6b8ecd480b83cf818f54d865a4ff61fe62d2893
      Reviewed-on: https://review.typo3.org/31216
      Reviewed-by: Oliver Klee
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      f0803359
  7. Jun 25, 2014
  8. May 07, 2014
  9. May 06, 2014
    • Christian Kuhn's avatar
      [TASK] Find functional tests automatically, optimize travis-ci · 87310e5a
      Christian Kuhn authored
      Simalar to UnitTests.xml, FunctionalTests.xml no longer register
      single test suites but find all functional tests cases using a
      wildcard.
      
      For travis-ci, single tests cases are now given to parallel using
      gnu find. This leads to a nice performance improvement on travis
      since more but shorter processes are executed, sharing the available
      hardware more effectively.
      
      Change-Id: I8dc34ed2fcc1ae8390bc05dbe6f5e7009af17a36
      Resolves: #58578
      Related: #58533
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/29901
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      87310e5a
  10. May 03, 2014
    • Nicole Cordes's avatar
      [BUGFIX] Improve Windows support for functional tests · 36027295
      Nicole Cordes authored
      Solve some issues running function tests on windows OS
      
      * Disable colors, this is hardly supported in windows CLI,
        enable in .travis.yml explicitly
      * Convert the web root path into a unix styled one to prevent a
        mix between backslashes and forward slashes
      * Improve finding the PHP binary as the system constants PHP_BINDIR
        is defined with "C:\php" even if PHP is installed in a different folder
      * Improves command line argument escaping for special windows
        requirements.
      
      Resolves: #57524
      Releases: 6.2
      Change-Id: I80b1652e35b816f8ca93929950d014c45b9535d1
      Reviewed-on: https://review.typo3.org/29057
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      36027295
  11. Apr 19, 2014
    • Christian Kuhn's avatar
      [TASK] Use composer for unit and functional tests in travis · 9f87a730
      Christian Kuhn authored
      The patch uses composer based dependency handling and other
      stuff pushing travis-ci tests to the next level:
      
      - phpunit registered as "dev" requirement in composer.json
      - vfsStream registered as "dev" requirement in composer.json
      - cms-composer-installers is not released stable and adapted
        in composer.json for successful dependency resolving via
        composer
      - cloning travis-integration repository is obsolete by inlining
        scripts in .travis.yml
      - cloning ext:phpunit is obsolete, native phpunit by composer
        is used now
      - it is possible to set functional test suite database credentials
        with environment variables, used in .travis.yml
      - redis cache backend tests are enabled on travis-ci again
      - use existing php modules of travis-ci environment speeds up build
      
      With phpunit from composer, the command to run tests is
      ./bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml
      More documentation about that can be found at
      http://wiki.typo3.org/Unit_Testing_TYPO3
      
      Change-Id: I4d524e8e0249ca22f34fc48b7209d60d72e5e921
      Resolves: #57971
      Related: #51436
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/29495
      Reviewed-by: Wouter Wolters
      Reviewed-by: Tymoteusz Motylewski
      Tested-by: Tymoteusz Motylewski
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      9f87a730
  12. Apr 18, 2014
    • Christian Kuhn's avatar
      [TASK] Mitigate risk for travis-ci timeouts · 93ecedac
      Christian Kuhn authored
      Not using --keep-order in parallel gives output as soon as a
      job is finished and thus reduces the risk for travis-ci timeouts.
      
      Change-Id: If33087fbf4fc2b927ce52d153625140d89c2603a
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/29553
      Reviewed-by: Wouter Wolters
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      93ecedac
  13. Apr 13, 2014
    • Helmut Hummel's avatar
      [TASK] Mitigate erroring builds · 7ea10933
      Helmut Hummel authored
      Builds error regularily because our scripts
      need to output something at least every 10 minutes.
      
      This might not happen as the complete functional test
      suite takes longer than that.
      
      To avoid these issues, only execute unit tests and lint
      in parallel and each functional test suite.
      
      By doing so, each functional test suite can take
      up to 10 minutes which is for now a limit we do not
      reach.
      
      Releases: 6.2
      Change-Id: I74cac706748cc03388f814f09e799a8705a26bca
      Reviewed-on: https://review.typo3.org/29133
      Reviewed-by: Markus Klein
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      7ea10933
  14. Mar 22, 2014
  15. Feb 11, 2014
    • Helmut Hummel's avatar
      [TASK] Switch order of tests · 4da95b58
      Helmut Hummel authored
      Execute unit tests first and lint last, since
      the lint is las resort anyway and unlikely to fail.
      
      Also use a simple printf instead of a php call.
      
      Change-Id: I7471e4ac0b217e1a58d1324bd24fc7e2f517e17e
      Reviewed-on: https://review.typo3.org/27564
      Reviewed-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      4da95b58
    • Helmut Hummel's avatar
      [TASK] Speedup travis build · 8e2dc707
      Helmut Hummel authored
      Different build environments have been set up
      mainly to be able to execute lint, unit tests
      and functional tests in parallel. However
      setting up the build environment on travis
      also takes quite some time, so that overall
      build times are quite high.
      
      This change cleans up the travis configuration,
      reduces the number of builds to only the configured
      PHP versions and executes lint, unit tests and
      functional test in parallel using the command line
      tool "parallel"
      
      By doing so, the overall build time can be reduced
      by at least 50%
      
      This change also removes the installation of a
      current git version which has been added to
      fix temporary Travis service errors.
      
      Releases: 6.2
      Change-Id: Ic1591ed0b596df22a648a825639c1a2bbc7ffcc2
      Reviewed-on: https://review.typo3.org/27540
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      8e2dc707
  16. Feb 10, 2014
  17. Jan 27, 2014
  18. Dec 19, 2013
    • Helmut Hummel's avatar
      [TASK] Setup travis notifications · 75f9c586
      Helmut Hummel authored
      Since the travis ci service changed the notification
      policy to not notify authors of commits on failed
      builds, we need to set up explicit notifications
      so that failing builds do not stay undiscovered.
      
      A first step will be to sent a notification to
      the irc channel and the core list.
      
      Change-Id: I6f5953f65aab04c526eae8aa34890e39169ab60f
      Reviewed-on: https://review.typo3.org/26491
      Tested-by: Ernesto Baschny
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      75f9c586
  19. Dec 13, 2013
  20. Oct 14, 2013
    • Helmut Hummel's avatar
      [TASK] Bootstrap for Unit Tests · f362ed73
      Helmut Hummel authored
      Until now we still needed the phpunit extension
      to be installed and cli access to be configured
      to execute unit tests.
      
      This change introduces a bootstrap file which
      can be used to execute the unit test suite
      without the extension.
      
      It is of course still possible to use the PHPUnit
      and VHS framework files present in the extension.
      
      This change also splits user initialization into
      separate bootstrap methods and allows the PATH_site
      and PATH_thisScript constants to be set outside
      the bootstrap.
      
      Activate Travis CI to make use of this.
      
      Resolves: #51436
      Releases: 6.2
      Change-Id: I43f51896fd9895ead8d0084f37d34f3347f1c5e5
      Reviewed-on: https://review.typo3.org/23396
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Tested-by: Philipp Gampe
      Reviewed-by: Philipp Gampe
      Tested-by: Markus Klein
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      f362ed73
  21. Aug 18, 2013
    • Christian Kuhn's avatar
      [TASK] Simplify travis script · cd3b7fe9
      Christian Kuhn authored
      The chmod for phpunit binaries is not needed after ext:phpunit
      fixed this, the execute script itself is simplified a bit to
      be better readable.
      
      Change-Id: I9b6d1d1e2e9e4155ee20c3dfda4313d89fed0def
      Resolves: #51153
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/23172
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      cd3b7fe9
  22. Aug 16, 2013
  23. Jul 30, 2013
    • Christian Kuhn's avatar
      [TASK] Travis setup without Introduction package · a0bd8459
      Christian Kuhn authored
      In travis, the introduction package is used to import the database
      schema to successfully run the unit tests.
      This is now substituted with a small php based script in the
      travis integration repository, that basically imports the base schema
      by running code similar to the according step in the installation
      process. Cloning the introduction package is no longer needed.
      Travis will now for automatically adapt to database schema changes
      defined in ext_tables.sql scripts and without changing foreign
      repositories anymore.
      
      Change-Id: If246650acfabde119d4e02c78d5449ab8d44feef
      Resolves: #50571
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/22723
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      a0bd8459
  24. Jul 27, 2013
    • Christian Kuhn's avatar
      [TASK] Run phpLint and phpUnit in different travis builds · cae1c184
      Christian Kuhn authored
      phpLint checks php files for compilation errors in travis before
      the unit tests are executed. This takes quite some time.
      The patch configures travis to run phpLint and phpUnit in different
      builds to speed up the process. Additionally, phpLint environment
      does not clone phpunit and the introduction package and does no
      database initialization.
      
      Change-Id: Ie25ade5b6a8fcf4c4dc0752fc8662c433ea3c33c
      Resolves: #50492
      Releases: 6.2, 6.1, 6.0
      Reviewed-on: https://review.typo3.org/22624
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Susanne Moog
      Tested-by: Susanne Moog
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      cae1c184
  25. Jul 06, 2013
    • Markus Klein's avatar
      [TASK] Travis: Speedup cloning of repos · c6121d45
      Markus Klein authored
      Make use of the additional parameters of git clone
      to vastly reduce the amount of data transfered when cloning the
      repositories.
      
      Releases: 6.2, 6.1, 6.0, 4.7, 4.5
      Change-Id: Id0c5f3a4ed7ee0bdeb6053c6e0dc606362909d1e
      Reviewed-on: https://review.typo3.org/22054
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      c6121d45
  26. Jun 24, 2013
  27. May 08, 2013
  28. Apr 27, 2013
  29. Nov 29, 2012
  30. Nov 04, 2012
    • Helmut Hummel's avatar
      [TASK] Add memcache backend tests again · 84b76ffd
      Helmut Hummel authored
      Memceache tests have been disabled because of
      problems with the travis ci service.
      
      Activate them again after the problems have been
      resolved and also activate PHPUnit color output.
      
      Releases: 6.0
      
      Change-Id: I8f488c499884e36c03736844f5325ad57deeecc5
      Reviewed-on: http://review.typo3.org/16179
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      84b76ffd
  31. Nov 02, 2012
  32. Nov 01, 2012
  33. Oct 12, 2012
  34. Oct 10, 2012
  35. Sep 11, 2012
    • Christian Kuhn's avatar
      [TASK] Move UnitTests.xml file to EXT:core/Build · 2e6046eb
      Christian Kuhn authored
      This was decided at the latest release manager meeting:
      To get rid of the top level tests/ directory, the UnitTests.xml
      file is moved to the core extension to a new folder Build/. This
      directory will later be used for other build specific things.
      
      Change-Id: Id541f1e0bab3b1d2891f13697f48ea16e6c86d5e
      Resolves: #40837
      Releases: 6.0
      Reviewed-on: http://review.typo3.org/14528
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      2e6046eb