Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvement: add phpcompatibility check for phpcodesniffer in -dev #2456

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

improvement: add phpcompatibility check for phpcodesniffer in -dev

4f5596d
Select commit
Loading
Failed to load commit list.
Open

improvement: add phpcompatibility check for phpcodesniffer in -dev #2456

improvement: add phpcompatibility check for phpcodesniffer in -dev
4f5596d
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Feb 23, 2024 in 14m 51s

Build Errored

The build errored. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2456 improvement: add phpcompatibility check for phpcodesniffer in -dev.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has three jobs, running in parallel.

Job PHP ENV OS State
11493.1 7.3 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux errored
11493.2 7.4 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux errored
11493.3 8.0 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux errored

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Xenial)
Build Configuration
{
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "if": "(repo = chilek/lms) OR (branch =~ /^stable/)",
  "env": [
    "global={:COMPOSER_DISABLE_XDEBUG_WARN=>\"\\\"1\\\"\"}"
  ],
  "addons": {
    "postgresql": "9.4"
  },
  "services": [
    "postgresql",
    "mysql"
  ],
  "install": [
    "composer install"
  ],
  "before_script": [
    "psql -c 'create database lms;' -U postgres",
    "psql -U postgres -f doc/lms.pgsql",
    "mysql -e 'CREATE DATABASE lms;'",
    "mysql lms < doc/lms.mysql",
    "if find . -name \"*.php\" ! -path \"./vendor/*\" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v \"No syntax errors detected\"; then exit 1; fi",
    "if find templates -type f -iname '*.html' | xargs devel/smartylint.php |grep -i \"syntax error\"; then exit 1; fi",
    "./vendor/bin/phpcs --standard=$PHPCS_STANDARD .",
    "npm install -g jshint",
    "jshint ."
  ],
  "script": [
    "true"
  ],
  "notifications": {
    "email": [
      {
        "on_success": "change",
        "on_failure": "always"
      }
    ]
  },
  "jobs": {
    "include": [
      {
        "os": "linux",
        "language": "php",
        "php": "7.3",
        "dist": "xenial",
        "env": [
          {
            "PHPCS_VER": "\"^3\"",
            "PHPCS_STANDARD": "\"phpcs3.xml\"",
            "INSTALL_PHP_ZIP_EXTENSION": "false"
          }
        ]
      },
      {
        "os": "linux",
        "language": "php",
        "php": "7.4",
        "dist": "xenial",
        "env": [
          {
            "PHPCS_VER": "\"^3\"",
            "PHPCS_STANDARD": "\"phpcs3.xml\"",
            "INSTALL_PHP_ZIP_EXTENSION": "true"
          }
        ]
      },
      {
        "os": "linux",
        "language": "php",
        "php": "8.0",
        "dist": "xenial",
        "env": [
          {
            "PHPCS_VER": "\"^3\"",
            "PHPCS_STANDARD": "\"phpcs3.xml\"",
            "INSTALL_PHP_ZIP_EXTENSION": "true"
          }
        ]
      }
    ]
  }
}