# Differences in Free vs Enterprise version of Travis CI

**URL:** https://travis-ci.community/t/differences-in-free-vs-enterprise-version-of-travis-ci/8128
**Category:** Enterprise
**Tags:** bug
**Created:** [April 13, 2020, 12:23pm UTC](https://travis-ci.community/t/differences-in-free-vs-enterprise-version-of-travis-ci/8128 "2020-04-13T12:23:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sumitpuri](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@sumitpuri](https://travis-ci.community/u/sumitpuri)
#### Post date: [April 13, 2020, 12:23pm UTC](https://travis-ci.community/t/differences-in-free-vs-enterprise-version-of-travis-ci/8128/1 "2020-04-13T12:23:07Z")

</div>

This piece of code below works fine in the free version ([travis-ci.org](http://travis-ci.org)). Basically, this code ensures that Travis CI build runs only when the Git commit message is any of run1, run2, or run3. Other Github Commit messages do not trigger the Travis CI build at all.

However, in the enterprise version ([travis.ibm.com](http://travis.ibm.com)) the same code does not take the if statement into account and the Travis CI build runs for all Git commit messages. What am I missing here?

```auto
os: linux
dist: bionic
language: bash
script: bash $TRAVIS_COMMIT_MESSAGE.sh
if: commit_message IN ("run1","run2","run3")

```

---

<div class="post-metadata">

### Author: ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)
#### Post date: [April 13, 2020, 8:04pm UTC](https://travis-ci.community/t/differences-in-free-vs-enterprise-version-of-travis-ci/8128/2 "2020-04-13T20:04:13Z")

</div>

Your Enterprise installation is not yet updated to allow the `if` conditions.
