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

update travis module reference #794

Merged
merged 1 commit into from
Feb 6, 2024

update travis module reference

c40bb59
Select commit
Loading
Failed to load commit list.
Merged

update travis module reference #794

update travis module reference
c40bb59
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Feb 5, 2024 in 6m 29s

Build Failed

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

Details

This is a pull request build.

It is running a build against the merge commit, after merging #794 update travis module reference.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language PHP
Operating System Linux (Jammy)
PHP Version 8.1
Node.js Version 12
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "version": "~> 1.0",
  "php": [
    "8.1"
  ],
  "node_js": [
    "12"
  ],
  "services": [
    "docker"
  ],
  "env": [
    "global={:COMPOSE_HTTP_TIMEOUT=>\"360\"}={:ES_MEM_LIMIT=>\"2g\"}={:COMPOSER_NO_INTERACTION=>\"1\"}"
  ],
  "notifications": {
    "email": [
      {
        "on_success": "never",
        "on_failure": "change"
      }
    ]
  },
  "cache": {
    "directories": [
      "$HOME/.composer/cache"
    ]
  },
  "before_install": [
    "test -n \"$(find $TRAVIS_BUILD_DIR/tests -maxdepth 1 -name '*.suite.yml' 2>/dev/null)\" || exit 0",
    "nvm install v12",
    "nvm use v12",
    "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin"
  ],
  "install": [
    "skip"
  ],
  "branches": {
    "only": [
      "master",
      "main",
      "/v\\d+-branch/",
      "travis.*"
    ]
  },
  "before_script": [
    "composer create-project altis/skeleton:dev-$TRAVIS_BRANCH --stability=dev --ignore-platform-req=php+ --ignore-platform-req=ext-* $HOME/test-root || composer create-project altis/skeleton:dev-master --stability=dev --ignore-platform-req=php+ --ignore-platform-req=ext-* $HOME/test-root || exit 1",
    "cd $HOME/test-root && composer require altis/test-theme --ignore-platform-req=php+ --ignore-platform-req=ext-*",
    "cd $HOME/test-root && cat <<< $(jq '. * {\"extra\":{\"altis\":{\"modules\":{\"cms\":{\"default-theme\":\"test-theme\"}}}}}' composer.json | jq . -) > composer.json",
    "cd $HOME/test-root && composer require -W \"$ALTIS_PACKAGE:dev-${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} as `jq \\\".packages[] | select (.name==\\\\\\\"$ALTIS_PACKAGE\\\\\\\") | .version\\\" composer.lock | sed -e 's/\\\"//g;/^dev/q;s/\\$/9/'`\""
  ],
  "script": [
    "cd $HOME/test-root && composer server start",
    "cd $HOME/test-root && composer dev-tools codecept run -p vendor/$ALTIS_PACKAGE/tests",
    "cd $HOME/test-root && composer dev-tools lintdocs -l vendor/$ALTIS_PACKAGE all"
  ]
}