Skip to content

Update .travis.yml

50e8f7f
Select commit
Loading
Failed to load commit list.
Open

bugfix: added all missed requirements to composer.json #2487

Update .travis.yml
50e8f7f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Feb 7, 2025 in 13m 26s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2487 bugfix: added all missed requirements to composer.json.
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
12123.1 7.3 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux passed
12123.2 7.4 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux passed
12123.3 8.0 COMPOSER_DISABLE_XDEBUG_WARN="1" Linux passed

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"
  ],
  "before_install": [
    "sudo apt-get update && sudo apt-get install -y php-mailparse || pecl install mailparse"
  ],
  "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"
          }
        ]
      }
    ]
  }
}