Travis CI / Travis CI - Pull Request
succeeded
Aug 22, 2024 in 31m 41s
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 #312 Add nvm installation to install step..
Any changes that have been made to the main branch before the build ran are also included.
Jobs and Stages
This build has five jobs, running in three sequential stages.
Stage 1: CI test (make validate)
This stage passed.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
952.1 | 7.4 | PGVER=13 | Linux | passed |
Stage 2: Code coverage (coveralls)
This stage passed.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
952.2 | 7.4 | PGVER=13 | Linux | passed |
Stage 3: Integration tests
This stage passed.
Job | PHP | ENV | OS | State |
---|---|---|---|---|
952.3 | 8.3 | PGVER=13 | Linux | passed |
952.4 | 8.3 | PGVER=13 | Linux | passed |
952.5 | 7.4 | PGVER=13 | Linux | passed |
Build Configuration
Build Option | Setting |
---|---|
Language | PHP |
Operating System | Linux (Focal) |
Build Configuration
{
"language": "php",
"os": [
"linux"
],
"dist": "focal",
"addons": {
"postgresql": "13",
"apt": {
"packages": [
"postgresql-13",
"postgresql-client-13",
"libonig5"
]
}
},
"services": [
"mysql",
"docker"
],
"cache": {
"directories": [
"$HOME/.composer/cache",
"$HOME/.npm"
]
},
"env": [
"global={:PGVER=>\"13\"}={:IGNORE_PATHS=>\"ignore\"}={:IGNORE_NAMES=>\"ignore_name.php\"}={:MUSTACHE_IGNORE_NAMES=>\"broken.mustache\"}={:DB=>\"pgsql\"}"
],
"before_install": [
"echo 'max_input_vars=5000' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini",
"make init",
"cp -R tests/Fixture/moodle-local_ci ../moodle-local_ci",
"export PATH=\"$(cd bin; pwd):$(cd vendor/bin; pwd):$PATH\"",
"export TRAVIS_BUILD_DIR=$(cd ../moodle-local_ci; pwd)",
"if [ -n \"$DOCKER_USER\" ] && [ -n \"$DOCKER_TOKEN\" ]; then\n echo \"$DOCKER_TOKEN\" | docker login -u \"$DOCKER_USER\" --password-stdin\n echo \"Using authenticated connection (no pull limits)\"\nelse\n echo \"Using unauthenticated docker (pull limits may apply). Setup DOCKER_USER and DOCKER_TOKEN if needed.\"\nfi\n"
],
"install": [
"moodle-plugin-ci install -vvv"
],
"script": [
"moodle-plugin-ci phplint",
"moodle-plugin-ci phpcpd",
"moodle-plugin-ci phpmd",
"moodle-plugin-ci codechecker",
"moodle-plugin-ci codefixer",
"moodle-plugin-ci validate",
"moodle-plugin-ci savepoints",
"moodle-plugin-ci mustache",
"moodle-plugin-ci grunt || [[ \"$MOODLE_BRANCH\" =~ MOODLE_3[0-9]+_STABLE ]]",
"moodle-plugin-ci phpdoc",
"moodle-plugin-ci phpunit --verbose --coverage-text --fail-on-warning",
"moodle-plugin-ci behat --profile default",
"moodle-plugin-ci behat --profile chrome",
"moodle-plugin-ci behat --profile firefox --tags=\"@local_ci&&~@app\""
],
"jobs": {
"include": [
{
"stage": "CI test (make validate)",
"php": "7.4",
"before_install": [
"skip"
],
"install": [
"make init"
],
"script": [
"make validate"
]
},
{
"stage": "Code coverage (coveralls)",
"if": "repo = moodlehq/moodle-plugin-ci",
"php": "7.4",
"before_install": [
"skip"
],
"install": [
"make init",
"composer create-project -n --no-dev --prefer-dist php-coveralls/php-coveralls coveralls ^2"
],
"script": [
"make coverage-phpunit"
],
"after_success": [
"coveralls/bin/php-coveralls -v"
]
},
{
"stage": "Integration tests",
"if": "env(MOODLE_BRANCH) IS present"
},
{
"php": "8.3",
"env": [
{
"MOODLE_BRANCH": "main"
},
{
"MOODLE_APP": "true"
}
]
},
{
"php": "8.3",
"env": [
{
"MOODLE_BRANCH": "MOODLE_404_STABLE"
},
{
"MOODLE_APP": "true"
}
]
},
{
"php": "7.4",
"env": [
{
"MOODLE_BRANCH": "MOODLE_39_STABLE"
}
]
}
]
}
}
Loading