# Adding "version: ~\> 1.0" does not enable build config validation

**URL:** <https://travis-ci.community/t/adding-version-1-0-does-not-enable-build-config-validation/10863>\
**Category:** Build Config Validation\
**Created:** [December 18, 2020, 7:25am UTC](https://travis-ci.community/t/adding-version-1-0-does-not-enable-build-config-validation/10863 "2020-12-18T07:25:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjollos](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rjollos/32/5870_2.png) [@rjollos](https://travis-ci.community/u/rjollos)\
**Post date:** [December 18, 2020, 7:25am UTC](https://travis-ci.community/t/adding-version-1-0-does-not-enable-build-config-validation/10863/1 "2020-12-18T07:25:21Z")

</div>

I have the “Build config validation” enabled for my repository, however my colleague does not. But according to the docs, adding “version: ~\> 1.0” to travis.yml should enable build config validation.

> **[Travis CI Documentation](https://docs.travis-ci.com/user/build-config-validation#beta-opt-in)**
>
> Build Config Validation

It does not seem to in this case:

> **[Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/jun66j5/trac/jobs/461951088/config)**

In the case of my repository, I have “Build config validation” enabled through the UI:

> **[Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/github/rjollos/trac/jobs/750302905/config)**

---

<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:** [December 21, 2020, 10:13am UTC](https://travis-ci.community/t/adding-version-1-0-does-not-enable-build-config-validation/10863/2 "2020-12-21T10:13:32Z")

</div>

Hey @rjollos,

Is there anyway I can get a snippet of your `.travis.yml` file – pertaining to the build config validation.

---

<div class="post-metadata">

**Author:** ![rjollos](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rjollos/32/5870_2.png) [@rjollos](https://travis-ci.community/u/rjollos)\
**Post date:** [December 21, 2020, 4:13pm UTC](https://travis-ci.community/t/adding-version-1-0-does-not-enable-build-config-validation/10863/3 "2020-12-21T16:13:18Z")

</div>

Hi @Montana,

This is for an open-source project, so the whole `.travis.yml` can be seen here:

> <https://github.com/edgewall/trac/blob/trunk/.travis.yml>

Thanks!
