Add ability to run shell as root #652
Open
Travis CI / Travis CI - Pull Request
failed
Nov 24, 2023 in 4m 48s
Build Failed
The build failed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #652 Add ability to run shell as root.
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": [
"cd $HOME/test-root && composer 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.*"
]
}
}
Loading