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

Fold server start TravisCI output #619

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

Fold server start TravisCI output

f58df09
Select commit
Loading
Failed to load commit list.
Open

Fold server start TravisCI output #619

Fold server start TravisCI output
f58df09
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Aug 17, 2023 in 38s

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 #619 Fold server start TravisCI output.
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 (Bionic)
PHP Version 8.0
Node.js Version 12
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "version": "~> 1.0",
  "before_install": [
    "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin"
  ],
  "before_script": [
    "composer create-project altis/skeleton:dev-$TRAVIS_BRANCH --stability=dev $HOME/test-root || composer create-project altis/skeleton:dev-master --stability=dev $HOME/test-root || exit 1",
    "cd $HOME/test-root && composer require altis/test-theme",
    "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-dev\\\\\\\"[] | select (.name==\\\\\\\"$ALTIS_PACKAGE\\\\\\\") | .version\\\" composer.lock | sed -e 's/\\\"//g;/^dev/q;s/\\$/9/'`\""
  ],
  "script": [
    "fold_start server-start",
    "cd $HOME/test-root && composer server start",
    "fold_end server-start",
    "cd $HOME/test-root && composer server db info",
    "cd $HOME/test-root && composer server db exec -- \"select * from wp_site;\"",
    "cd $HOME/test-root && composer server status",
    "cd $HOME/test-root && composer server exec -- ls -al",
    "cd $HOME/test-root && composer server cli site list",
    "cd $HOME/test-root && composer server start --xdebug=debug,profile",
    "curl https://test-root.altis.dev/ | grep '<title>'",
    "cd $HOME/test-root && composer server exec printenv | grep XDEBUG_MODE=debug,profile",
    "curl -XGET https://test-root.altis.dev/webgrind/ | grep '<title>webgrind</title>'",
    "cd $HOME/test-root && composer server stop --clean",
    "cd $HOME/test-root && composer server destroy --clean"
  ],
  "php": [
    "8.0"
  ],
  "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"
    ]
  },
  "install": [
    "skip"
  ],
  "branches": {
    "only": [
      "master",
      "main",
      "/v\\d+-branch/",
      "travis.*"
    ]
  }
}