hoaproject/Central

Add Travis CI for all libraries

Hywan opened this issue · 8 comments

Hywan commented

As discussed in the last Hoa Virtual Meeting (hoaproject/ActionBoard#26), we are going to move our CI to Travis.

Progression

  • Acl,
  • Compiler,
  • Consistency,
  • Console,
  • Database,
  • Dispatcher,
  • Event,
  • Exception,
  • Graph,
  • Http,
  • Iterator,
  • Json,
  • Locale,
  • Mail,
  • Math,
  • Mime,
  • Protocol,
  • Registry,
  • Ruler,
  • Socket,
  • Stream,
  • String,
  • Ustring,
  • View,
  • Visitor,
  • Websocket,
  • Zombie.

Blocking

Important but not blocking

Hywan commented

Issue template:

Address https://github.com/hoaproject/Central/issues/36.

Travis template:

language: php
php:
  - 5.5
  - 5.6
  - 7.0
  - nightly
  - hhvm
os:
  - linux
matrix:
  allow_failures:
    - php: nightly
  fast_finish: true
notifications:
  irc: "chat.freenode.net#hoaproject"
sudo: false
before_script:
  - if [[ ! $TRAVIS_PHP_VERSION = hhvm* ]]; then phpenv config-rm xdebug.ini; fi
script:
  - composer install
  - vendor/bin/hoa test:run

Everything is already configured on Travis' side.

Hywan commented

We are experimenting with hoaproject/Acl#20 before rushing on all libraries.

Hywan commented

Template for the .travis.yml file has been updated.

Hywan commented

@hoaproject/hoackers I need your feedback.
PHP 7 + XDebug + atoum = segfault. This is an issue. However, with PHP 5.6, everything is fine. There is a patch in XDebug but we need to wait for a release from XDebug and Travis to update XDebug.
PHP 7 + atoum = error. This is an issue. However, with PHP 5.6, everything is fine.
PHP 7 + atoum 3.0-alpha = will work soon.

Should we deploy all Travis files with:

  • XDebug for PHP 5.6 only,
  • atoum 3.0-alpha (through Hoa/Test).

This is what we do in https://github.com/hoaproject/Acl/pull/20/files, except for atoum 3.0-alpha.

If not, then, should we wait?

nothing feels good enough for me to go in a specific direction

Hywan commented

Now we are ready. atoum has still some issues with HHVM, but this is not blocking.

Hywan commented

All libraries have Travis enabled, or Travis failing. We must focus on these latters.