# \#config-import

**URL:** https://travis-ci.community/tag/config-import/118.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [Distinct Environment Variables in Shared Build Configurations Overwritten by Local .travis.yml Entries](https://travis-ci.community/t/distinct-environment-variables-in-shared-build-configurations-overwritten-by-local-travis-yml-entries/14267)

<div class="topic-metadata">

**Author:** [@kkraw](https://travis-ci.community/u/kkraw)\
**Replies:** 1\
**Last updated:** [May 28, 2024, 7:37pm UTC](https://travis-ci.community/t/distinct-environment-variables-in-shared-build-configurations-overwritten-by-local-travis-yml-entries/14267 "2024-05-28T19:37:41Z")

</div>

Hello, I’m using a shared build configuration with specific environment variables across multiple pipelines. These variables are different from any that might be defined locally in a pipeline’s .travis.yml file. When th…

---

## [Restart build with updated config imports](https://travis-ci.community/t/restart-build-with-updated-config-imports/7210)

<div class="topic-metadata">

**Author:** [@dwhswenson](https://travis-ci.community/u/dwhswenson)\
**Replies:** 2\
**Last updated:** [May 5, 2023, 11:04am UTC](https://travis-ci.community/t/restart-build-with-updated-config-imports/7210 "2023-05-05T11:04:33Z")

</div>

Is it possible to start a new build of the same commit in a way that recreates the config, including updating imported configs? It appears that the config imports stay the same when I use the “Restart build” button. The…

---

## [Build config imports , deep merge](https://travis-ci.community/t/build-config-imports-deep-merge/6156)

<div class="topic-metadata">

**Author:** [@ghinks](https://travis-ci.community/u/ghinks)\
**Replies:** 4\
**Last updated:** [August 26, 2021, 2:50pm UTC](https://travis-ci.community/t/build-config-imports-deep-merge/6156 "2021-08-26T14:50:48Z")

</div>

I am looking into the use of the new build config imports feature I have a github repo from which I have raised a PR to import a build configuration. However although I find that the new modes deep\_merge\_append and dee…

---

## [Is the git reference exposed to the imported Travis Shared Build Configs?](https://travis-ci.community/t/is-the-git-reference-exposed-to-the-imported-travis-shared-build-configs/6648)

<div class="topic-metadata">

**Author:** [@balupton](https://travis-ci.community/u/balupton)\
**Replies:** 2\
**Last updated:** [November 23, 2020, 7:38am UTC](https://travis-ci.community/t/is-the-git-reference-exposed-to-the-imported-travis-shared-build-configs/6648 "2020-11-23T07:38:43Z")

</div>

Regarding https://docs.travis-ci.com/user/build-config-imports I currently maintain https://github.com/bevry/awesome-travis which has several scripts that be added to a .travis.yml file, such as https://github.com/bevry…

---

## [Can't properly use shared configurations via import, enabling it does not result in expected .travis.yml configuration](https://travis-ci.community/t/cant-properly-use-shared-configurations-via-import-enabling-it-does-not-result-in-expected-travis-yml-configuration/10205)

<div class="topic-metadata">

**Author:** [@ebukhgammer](https://travis-ci.community/u/ebukhgammer)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 4:00pm UTC](https://travis-ci.community/t/cant-properly-use-shared-configurations-via-import-enabling-it-does-not-result-in-expected-travis-yml-configuration/10205 "2020-10-19T16:00:59Z")

</div>

Pre-requirements: I’ve enabled “Build config validation” travis\_install\_nvm.yml content install: - nvm install v12.4.0 - nvm use v12.4.0 - npm install -g yarn This is a script i want to import across 3 jobs de…

---

## [Imported anchors not working](https://travis-ci.community/t/imported-anchors-not-working/10035)

<div class="topic-metadata">

**Author:** [@roman.hosek](https://travis-ci.community/u/roman.hosek)\
**Replies:** 1\
**Last updated:** [September 29, 2020, 2:55pm UTC](https://travis-ci.community/t/imported-anchors-not-working/10035 "2020-09-29T14:55:03Z")

</div>

Hi, I have problem to make anchors working if config is imported. If I import classic jobs, everything is working fine, but when I import just anchors instead, then aliases in project file are not working (run dummy job…

---

## [Imported config results in out of order build stages despite order explicitly specified](https://travis-ci.community/t/imported-config-results-in-out-of-order-build-stages-despite-order-explicitly-specified/9290)

<div class="topic-metadata">

**Author:** [@dwhswenson](https://travis-ci.community/u/dwhswenson)\
**Replies:** 1\
**Last updated:** [August 12, 2020, 6:31am UTC](https://travis-ci.community/t/imported-config-results-in-out-of-order-build-stages-despite-order-explicitly-specified/9290 "2020-08-12T06:31:45Z")

</div>

---

## [Imported config results in out of order build stage](https://travis-ci.community/t/imported-config-results-in-out-of-order-build-stage/8381)

<div class="topic-metadata">

**Author:** [@richardson-trevor](https://travis-ci.community/u/richardson-trevor)\
**Replies:** 13\
**Last updated:** [May 13, 2020, 3:10am UTC](https://travis-ci.community/t/imported-config-results-in-out-of-order-build-stage/8381 "2020-05-13T03:10:35Z")

</div>

We use imported configs to import a deploy job configuration, but have the test configuration specified directly in the travis.yml. As of 6 days ago (April 22) our imported configs resulted in test job build stage runnin…

---

## [Build config imports: Merging \`deploy\` array and objects](https://travis-ci.community/t/build-config-imports-merging-deploy-array-and-objects/8161)

<div class="topic-metadata">

**Author:** [@ankon](https://travis-ci.community/u/ankon)\
**Replies:** 3\
**Last updated:** [April 15, 2020, 4:35pm UTC](https://travis-ci.community/t/build-config-imports-merging-deploy-array-and-objects/8161 "2020-04-15T16:35:56Z")

</div>

When working on moving our builds to use the build config imports (see also Experience report: Sharing complex build configuration) I noticed that our deploy sections didn’t merge nicely. In the shared config I had dep…

---

## [Experience report: Sharing complex build configuration](https://travis-ci.community/t/experience-report-sharing-complex-build-configuration/7814)

<div class="topic-metadata">

**Author:** [@ankon](https://travis-ci.community/u/ankon)\
**Replies:** 7\
**Last updated:** [April 3, 2020, 7:52am UTC](https://travis-ci.community/t/experience-report-sharing-complex-build-configuration/7814 "2020-04-03T07:52:56Z")

</div>

Encoding complex build steps within .travis.yml is a real pain. For simple setups one can certainly write a short one-liner in the before\_install section (or whichever phase fits best), but the moment these get longer t…

---

## [Import different files into different jobs](https://travis-ci.community/t/import-different-files-into-different-jobs/6292)

<div class="topic-metadata">

**Author:** [@sergialonsoalpha](https://travis-ci.community/u/sergialonsoalpha)\
**Replies:** 3\
**Last updated:** [December 16, 2019, 4:44am UTC](https://travis-ci.community/t/import-different-files-into-different-jobs/6292 "2019-12-16T04:44:12Z")

</div>

Hello, I would like to know if there is a way to import travis configuration files to different job stages. I mean, imagine I have a repo with the configuration\_a.yml and another file with the configuration\_b.yml Woul…
