Travis build do not trigger if just used os: osx. For flutter application

I am new to Travis and do not know if I am writing the proper script for Travis’s build. But the same script worked for Flutter(Android Build) properly.

According to Travis doc for os: osx should be passed for macOS builds but when I did so Travis builds are not triggered and when I pass os: macOS 11.6 it says unknown value and start with the script but uses old macOS Details

ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G65

Script:

osx_image: xcode13.1

jobs:
  include:
    - os: macOS 11.6
      language: objective-c

Hey there,

It seems like you have confused the key and value pairs that you can use within your .travis.yml file.

Here is the documentation that may be helpful;

So your snipped configuration should look like:

jobs:
  include:
    - os: osx
      osx_image: xcode13.1
      language: objective-c

Thanks.

When I try doing that build is not triggered on Travis.

This now should be resolved.

I am still facing the same issue