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

**URL:** <https://travis-ci.community/t/travis-build-do-not-trigger-if-just-used-os-osx-for-flutter-application/12936>\
**Category:** macOS\
**Created:** [April 27, 2022, 8:15am UTC](https://travis-ci.community/t/travis-build-do-not-trigger-if-just-used-os-osx-for-flutter-application/12936 "2022-04-27T08:15:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SwapnilDhotre](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/swapnildhotre/32/7911_2.png) [@SwapnilDhotre](https://travis-ci.community/u/SwapnilDhotre)\
**Post date:** [April 27, 2022, 8:15am UTC](https://travis-ci.community/t/travis-build-do-not-trigger-if-just-used-os-osx-for-flutter-application/12936/1 "2022-04-27T08:15:17Z")

</div>

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:

```auto
osx_image: xcode13.1

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

```

---

<div class="post-metadata">

**Author:** ![mustafa](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mustafa/32/2752_2.png) [@mustafa](https://travis-ci.community/u/mustafa)\
**Post date:** [April 28, 2022, 7:16am UTC](https://travis-ci.community/t/travis-build-do-not-trigger-if-just-used-os-osx-for-flutter-application/12936/2 "2022-04-28T07:16:26Z")

</div>

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;

> **[Travis CI Documentation](https://docs.travis-ci.com/user/reference/osx/#macos-version)**
>
> The macOS Build Environment

So your snipped configuration should look like:

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

```

Thanks.

---

<div class="post-metadata">

**Author:** ![SwapnilDhotre](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/swapnildhotre/32/7911_2.png) [@SwapnilDhotre](https://travis-ci.community/u/SwapnilDhotre)\
**Post date:** [May 16, 2022, 5:13am UTC](https://travis-ci.community/t/travis-build-do-not-trigger-if-just-used-os-osx-for-flutter-application/12936/3 "2022-05-16T05:13:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [May 17, 2022, 5:46pm UTC](https://travis-ci.community/t/travis-build-do-not-trigger-if-just-used-os-osx-for-flutter-application/12936/4 "2022-05-17T17:46:59Z")

</div>

This now should be resolved.

---

<div class="post-metadata">

**Author:** ![SwapnilDhotre](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/swapnildhotre/32/7911_2.png) [@SwapnilDhotre](https://travis-ci.community/u/SwapnilDhotre)\
**Post date:** [May 18, 2022, 10:13am UTC](https://travis-ci.community/t/travis-build-do-not-trigger-if-just-used-os-osx-for-flutter-application/12936/5 "2022-05-18T10:13:19Z")

</div>

I am still facing the same issue
