# Does Travis CI support deploying to multiple environment in sequence?

**URL:** https://travis-ci.community/t/does-travis-ci-support-deploying-to-multiple-environment-in-sequence/11302
**Category:** Deployment
**Created:** [March 15, 2021, 8:18pm UTC](https://travis-ci.community/t/does-travis-ci-support-deploying-to-multiple-environment-in-sequence/11302 "2021-03-15T20:18:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wangxiaoyou1993](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/wangxiaoyou1993/32/6310_2.png) [@wangxiaoyou1993](https://travis-ci.community/u/wangxiaoyou1993)
#### Post date: [March 15, 2021, 8:18pm UTC](https://travis-ci.community/t/does-travis-ci-support-deploying-to-multiple-environment-in-sequence/11302/1 "2021-03-15T20:18:55Z")

</div>

In the deploy phase, we want to deploy to staging environment first, run tests and then deploy to production environment. I wonder whether this is feasible in Travis CI.

---

<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: [March 16, 2021, 6:25am UTC](https://travis-ci.community/t/does-travis-ci-support-deploying-to-multiple-environment-in-sequence/11302/2 "2021-03-16T06:25:11Z")

</div>

Deployments, like all other build steps, are always done in sequence, in the order they are specified in `.travis.yml`.

It however isn’t supported to use your own hardware as a CI environment to run tests on, you need Travis Enterprise for that.

---

<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: [April 30, 2021, 8:06am UTC](https://travis-ci.community/t/does-travis-ci-support-deploying-to-multiple-environment-in-sequence/11302/3 "2021-04-30T08:06:54Z")

</div>

4 posts were split to a new topic: [Manual approval stage in the middle of a build to make manual adjustments before deployment?](https://travis-ci.community/t/manual-approval-stage-in-the-middle-of-a-build-to-make-manual-adjustments-before-deployment/11533)
