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

Build with node 20 and remove testcafe #18

Merged
merged 4 commits into from
Dec 22, 2023

feat: Remove signing script because no cordova on cozy-photos

945e64f
Select commit
Loading
Failed to load commit list.
Merged

Build with node 20 and remove testcafe #18

feat: Remove signing script because no cordova on cozy-photos
945e64f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Dec 22, 2023 in 21m 42s

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 #18 Build node 20.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has four jobs, running in two sequential stages.

Stage 1: prebuild

This stage passed.

Job Node.js ENV OS State
46.1 Lint 20 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}' Linux passed
46.2 Unit tests node 16 16 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}' Linux passed
46.3 Unit tests node 20 20 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}' Linux passed

Stage 2: build

This stage passed.

Job Node.js ENV OS State
46.4 Build app 20 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}' Linux passed

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Jammy)
Node.js Version 20
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "node_js": [
    "20"
  ],
  "cache": {
    "yarn": true
  },
  "branches": {
    "only": [
      "master",
      "/^\\d+\\.\\d+\\.\\d+(\\-beta.\\d+)?$/"
    ]
  },
  "env": [
    "global={:MATTERMOST_CHANNEL=>\"'{\\\"dev\\\":\\\"app-photos\\\",\\\"beta\\\":\\\"app-photos,publication\\\",\\\"stable\\\":\\\"app-photos,publication\\\"}'\"}=MATTERMOST_HOOK_URL=[secure]=REGISTRY_TOKEN=[secure]=GITHUB_TOKEN=[secure]"
  ],
  "stages": [
    {
      "name": "prebuild"
    },
    {
      "name": "build"
    }
  ],
  "jobs": {
    "include": [
      {
        "name": "Lint",
        "stage": "prebuild",
        "script": [
          "yarn lint"
        ]
      },
      {
        "name": "Unit tests node 16",
        "stage": "prebuild",
        "node_js": "16",
        "script": [
          "yarn test"
        ]
      },
      {
        "name": "Unit tests node 20",
        "stage": "prebuild",
        "node_js": "20",
        "script": [
          "yarn test"
        ]
      },
      {
        "name": "Build app",
        "stage": "build",
        "before_script": [
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && openssl aes-256-cbc -K $encrypted_497d1a9dc404_key -iv $encrypted_497d1a9dc404_iv -in id_rsa_downcloud_photos.enc -out id_rsa_downcloud_photos -d",
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && eval \"$(ssh-agent -s)\"",
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && chmod 600 id_rsa_downcloud_photos",
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && ssh-add id_rsa_downcloud_photos"
        ],
        "script": [
          "yarn build"
        ],
        "before_deploy": [
          "yarn add cozy-app-publish"
        ],
        "deploy": [
          {
            "repo": "cozy/cozy-photos",
            "provider": "script",
            "script": "yarn run deploy",
            "on": {
              "branch": [
                "master"
              ]
            },
            "skip_cleanup": true
          },
          {
            "repo": "cozy/cozy-photos",
            "provider": "script",
            "script": "yarn run deploy",
            "on": {
              "tags": true
            },
            "skip_cleanup": true
          }
        ]
      }
    ]
  }
}