Bump grunt from 1.0.4 to 1.5.3 #3
Open
Travis CI / Travis CI - Branch
succeeded
Oct 2, 2023 in 1m 32s
Build Passed
The build passed, just like the previous build.
Details
This is a normal build for the dependabot/npm_and_yarn/grunt-1.5.3 branch. You should be able to reproduce it by checking out the branch locally.
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 | Node.js |
Operating System | Linux (Focal) |
Node.js Version | 18 |
Build Configuration
{
"language": "node_js",
"os": [
"linux"
],
"dist": "focal",
"node_js": [
"18"
],
"cache": false,
"jobs": {
"include": [
{
"stage": "install, check code style and coverage",
"if": "tag IS blank",
"services": [
"mongodb"
],
"addons": {
"hosts": [
"localhost"
]
},
"before_script": [
"npm install -g grunt-cli",
"sleep 10"
],
"script": [
"grunt",
"if [ \"$TRAVIS_BRANCH\" != \"master\" ]; then grunt test; fi",
"if [ \"$TRAVIS_BRANCH\" = \"master\" ]; then grunt coverage; fi"
]
},
{
"stage": "Publish to npm",
"if": "branch =~ /(release)/",
"script": [
"echo \"PUBLISH npm\""
],
"deploy": [
{
"provider": "npm",
"skip_cleanup": true,
"email": "$NPM_EMAIL",
"on": {
"all_branches": true,
"condition": [
"$TRAVIS_BRANCH =~ ^(release)*"
]
},
"api_token": "$NPM_TOKEN"
}
]
},
{
"stage": "Publish to docker registry",
"if": "branch =~ /(release)/",
"script": [
"echo \"PUBLISH docker\"",
"export PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -Fn '{ print $2 }' | sed 's/[n:\",]//g' | tr -d '[[:space:]]')",
"export MAJOR_VERSION=$(echo ${PACKAGE_VERSION} | awk -F. '{ print $1 }')",
"echo Package version ${PACKAGE_VERSION}",
"echo Major version ${MAJOR_VERSION}",
"git config --local user.name ${GIT_USER}",
"git config --local user.email ${GIT_EMAIL}",
"git tag ${PACKAGE_VERSION}",
"echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
"docker build -t soajsorg/infra .",
"docker images",
"docker tag soajsorg/infra:latest soajsorg/infra:${PACKAGE_VERSION}",
"docker tag soajsorg/infra:latest soajsorg/infra:${MAJOR_VERSION}.x",
"docker push soajsorg/infra",
"docker push soajsorg/infra:${PACKAGE_VERSION}",
"docker push soajsorg/infra:${MAJOR_VERSION}.x"
],
"deploy": [
{
"provider": "releases",
"on": {
"all_branches": true
},
"skip_cleanup": true,
"token": "${GIT_TOKEN}"
}
]
}
]
}
}
Loading