Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask before saving .travis.yml in encrypt* commands #721

Merged
merged 5 commits into from
Mar 23, 2020
Merged

Conversation

BanzaiMan
Copy link
Contributor

Resolves #651.

@BanzaiMan
Copy link
Contributor Author

$ bin/travis encrypt -a -C foo=bar


Overwrite the config file /Users/asari/Development/src/travis-ci/travis.rb/.travis.yml with the content below?

This reformats the existing file.

---
language: ruby
cache: bundler
os:
- linux
rvm:
- jruby
- 2.2.7
- 2.3.8
- 2.4.5
- 2.5.5
- 2.6.3
jobs:
  include:
  - os: osx
    rvm: 2.5.5
  - os: osx
    rvm: 2.6.3
  - stage: deploy
    if: branch = master and type = push
    os: linux
    rvm: 2.6.3
    deploy:
      provider: rubygems
      api_key:
        secure: KcBpkFaes74KGMm8X/rRA8e13+t3PmkefsAvOAR+iF4g1GyuLSPkP92Fb9vFfsXBph+qmFh5rNa2lIRf/3RXW6COxY7CMMaARxUfJOKE0rmIwF0qfKI+RZDh6abg92iYngunMZVN8WVft6Lv9ZTOYCWxr1Zs1Ll/Rl4PfvHNd1g=
      gem: travis
      true:
        repo: travis-ci/travis.rb
        ruby: 2.6.3
      edge: true
env:
  global:
    secure: cS7fkVbLAE83W7YDwxHju0TkuBEOQdXxBLYZdJ5qESU9GDEHvhDoTrsfShNCDaY+cg9LJFovjfBJqzGnci4Y1Wcv8XKneIUpqZYhp/pAIph4DdjNzRDUvx2sRho2ZkEdLCirAudepeweil/F/hyga59nrQsdiSIGCWFCh2/FKJQ=


(y/N)

@BanzaiMan BanzaiMan merged commit 5f91a87 into master Mar 23, 2020
@BanzaiMan BanzaiMan deleted the ha-add-confirm branch March 23, 2020 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

travis encrypt --add destroys file formatting
2 participants