# “Skipping a deployment... because this is not on the required runtime.”

**URL:** <https://travis-ci.community/t/skipping-a-deployment-because-this-is-not-on-the-required-runtime/5144>\
**Category:** Deployment\
**Tags:** pypi\
**Created:** [September 20, 2019, 1:07am UTC](https://travis-ci.community/t/skipping-a-deployment-because-this-is-not-on-the-required-runtime/5144 "2019-09-20T01:07:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbpatt2019](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rbpatt2019/32/2731_2.png) [@rbpatt2019](https://travis-ci.community/u/rbpatt2019)\
**Post date:** [September 20, 2019, 1:07am UTC](https://travis-ci.community/t/skipping-a-deployment-because-this-is-not-on-the-required-runtime/5144/1 "2019-09-20T01:07:01Z")

</div>

I have been getting a serious of errors regarding to deployment.

My .travis.yml file is here: [https://github.com/rbpatt2019/ToDonePy/blob/master/.travis.yml](https://github.com/rbpatt2019/ToDonePy/blob/master/.travis.yml)

On the first pass, I had travis only building tags. This resulted in the error “Skipping a deployment with the pypi provider because this is not on the required runtime” for my build for both Ppython 3.6 and 3.7. See [https://travis-ci.org/rbpatt2019/ToDonePy/builds/587262062](https://travis-ci.org/rbpatt2019/ToDonePy/builds/587262062)

I removed the old “if: tag IS present” line, added a new tag (v1.0.2), and re-pushed. This triggered a build for both the master branch and the tag branch as expected.

The master branch behaves as expected. It doesn’t deploy, saying both “Skipping a deployment with the pypi provider because this is not on the required runtime” and “Skipping a deployment with the pypi provider because this is not a tagged commit.” See [https://travis-ci.org/rbpatt2019/ToDonePy/builds/587265775](https://travis-ci.org/rbpatt2019/ToDonePy/builds/587265775)

On the tag branch, where I do expect deploys, the build still skips the deploys. Both the python 3.6 and 3.7 builds say “Skipping a deployment with the pypi provider because this is not on the required runtime.” See [https://travis-ci.org/rbpatt2019/ToDonePy/builds/587265768](https://travis-ci.org/rbpatt2019/ToDonePy/builds/587265768)

I am at a loss for why it will not deploy. Any help will be appreciated.

I know the project, itself, deploys fine, as I have successfully released it using sdist/bdist\_wheel/twine to PyPI manually.

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [September 20, 2019, 2:45am UTC](https://travis-ci.community/t/skipping-a-deployment-because-this-is-not-on-the-required-runtime/5144/2 "2019-09-20T02:45:58Z")

</div>

This is the culprit:

```auto
deploy:
  <...>
  on:
    <...>
    python: 
    - 3.6
    - 3.7

```

**`on: <language>:` only accepts one value.** ([the code doing the check](https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/addons/deploy/script.rb#L135))  
If you need to deploy from jobs for both versions, just omit the clause altogether.

---

<div class="post-metadata">

**Author:** ![rbpatt2019](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rbpatt2019/32/2731_2.png) [@rbpatt2019](https://travis-ci.community/u/rbpatt2019)\
**Post date:** [September 20, 2019, 5:46pm UTC](https://travis-ci.community/t/skipping-a-deployment-because-this-is-not-on-the-required-runtime/5144/3 "2019-09-20T17:46:16Z")

</div>

Thank you much for the help! I had a feeling I was missing something simple, but couldn’t find what. Cheers!
