This package is abandoned and no longer maintained. No replacement package was suggested.

Bash scripts for Travis CI.

Maintainers

Details

github.com/Zenify/CI

Source

Issues

Installs: 2 706

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:Shell

v0.1.0 2015-03-06 11:32 UTC

This package is not auto-updated.

Last update: 2017-04-11 19:47:00 UTC


README

This package simplifies your .travis.yml code.

Features:

  • run code coverage just once
  • run static analysis (e.g. coding standard) just once
  • for every change in your Travis workflow, you need to update 1 central repo only

Usage

Just extend your .travis.yml.

install:
  - composer create-project --prefer-source --no-interaction zenify/ci vendor/ci @dev
  - . vendor/ci/travis/coverage-init.sh
  - composer install --prefer-source

before_script:
  - . vendor/ci/travis/static-analysis.sh

script:
  - phpunit $PHPUNIT_FLAGS

after_script:
  - . vendor/ci/travis/coverage-send.sh

PHP_CodeSniffer flags

Do you need to add some flags for PHP_CodeSniffer? Just use PHPCS_FLAGS variable for this.

env:
  global:
    - PHPCS_FLAGS="--ignore=wrong,correct"

Fork and Profit

This settings is very general and specific for Zenify packages. Feel free to fork it and use your own customized process.