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

Bump grunt from 1.0.4 to 1.5.3 #19

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

Bump grunt from 1.0.4 to 1.5.3

6b2486d
Select commit
Failed to load commit list.
Open

Bump grunt from 1.0.4 to 1.5.3 #19

Bump grunt from 1.0.4 to 1.5.3
6b2486d
Select commit
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Sep 7, 2023 in 2m 15s

Build Passed

The build passed.

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 (Xenial)
Node.js Version 16
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "node_js": [
    "16"
  ],
  "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/repositories .",
          "docker images",
          "docker tag soajsorg/repositories:latest soajsorg/repositories:${PACKAGE_VERSION}",
          "docker tag soajsorg/repositories:latest soajsorg/repositories:${MAJOR_VERSION}.x",
          "docker push soajsorg/repositories",
          "docker push soajsorg/repositories:${PACKAGE_VERSION}",
          "docker push soajsorg/repositories:${MAJOR_VERSION}.x"
        ],
        "deploy": [
          {
            "provider": "releases",
            "on": {
              "all_branches": true
            },
            "skip_cleanup": true,
            "token": "${GIT_TOKEN}"
          }
        ]
      }
    ]
  }
}