-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Task to make .travis.yml file automatically #65
Comments
I think I like the idea. However, I'm not sure how much we can do in case user already have I mean, it's nice if we can tell you on what you need to put in there, and be able to automate that. What do you think would be the best way to do it? |
part of the install task should be to ensure the generated gemfiles are specified in the .travis.yml, and if not, either warn or add them |
Looking back to this, I like the idea of ensuring that they are specified in .travis.yml. I don't think inserting it to the .travis.yml make sense, since you'll want to sort and format your .yml file to your liking. I think I'll add this warning in |
Good compromise 👍 |
It might not be too difficult to deal with conflicts if you use Thor generators and Actions. That's the same framework used by "bundle gem", "rails g" and many other generators, and appraisal already depends on Thor. It may depend on the specific action, but based on my experience w/ Thor generators I'd expect:
For example, I just ran a Thor generator and it displayed (w/ color):
Note the "diff" action, which is what I makes this really useful. |
@maxlinc the problem is that they will never match, as appraisal only knows and cares about But if in the future if we could generate the diff while maintaining user's configuration and their positions, I'm all ears. |
* Add `--travis` flag to `appraisal generate` to display the correct gemfiles configuration. * Warn when users have an incorrect gemfiles configuration in their `.travis.yml` file. * Advise users to run command with `--travis` if they have no `gemfiles` configuration in their `.travis.yml` file. Fix #65
* Add `--travis` flag to `appraisal generate` to display the correct gemfiles configuration. * Warn when users have an incorrect gemfiles configuration in their `.travis.yml` file. * Advise users to run command with `--travis` if they have no `gemfiles` configuration in their `.travis.yml` file. Fix #65
* Add `--travis` flag to `appraisal generate` to display the correct gemfiles configuration. * Warn when users have an incorrect gemfiles configuration in their `.travis.yml` file. * Advise users to run command with `--travis` if they have no `gemfiles` configuration in their `.travis.yml` file. Fix #65
Woo! 👍 😄 |
Hi guys! Awesome gem, really helped me when I was trying to figure out how to test against multiple versions of Puppet 👍
So, my idea for a cool feature is an additional rake task that automatically writes to and/or creates a
.travis.yml.
file in your repo, adding in the multiple gem versions to thegemfile:
parameter there.Sound good?
The text was updated successfully, but these errors were encountered: