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

Self-tests for travis.debian.net #26

Open
evgeni opened this issue Sep 27, 2016 · 4 comments
Open

Self-tests for travis.debian.net #26

evgeni opened this issue Sep 27, 2016 · 4 comments

Comments

@evgeni
Copy link
Contributor

evgeni commented Sep 27, 2016

Ohai,

I think it would be nice if we would be able to test ourself on Travis, no?

Greets
Evgeni

@lamby
Copy link
Owner

lamby commented Sep 27, 2016

Not 100% sure what you mean, sorry; could you clarify?

@evgeni
Copy link
Contributor Author

evgeni commented Sep 27, 2016

If I currently submit a PR, editing script.sh, there is nothing that will actually check that my changes work as intended. My idea was to have a .travis.yaml (similar to the one that gets used in other packages) which creates a minimal package and then executes script.sh on that source, thus building it and ensuring proper function of script.sh

@lamby
Copy link
Owner

lamby commented Sep 27, 2016

Good point, but without testing all the variations (sid/wheezy/autopkgblah) I fear that a minimal package won't provide that much over a simple smoke tests that I run anyway... ie. it won't really be testing the proper function of script.sh, alas. Besides, most of the changes since the beginning have been for edge-cases or new features which — by definition — would not be caught by such as minimal test. Hm.

@evgeni
Copy link
Contributor Author

evgeni commented Oct 2, 2016

My usecase (in #23, #24, #25) was that I had to:

  • have a package/git prepared for using travis.d.n
  • have a fork of your repo
  • change my package to use my fork instead of yours
  • push my changes to my fork
  • run build of my package
  • repeat the last two steps for every fix I did

that was kinda tiresome, but I really wanted that feature, so I continued :D -- and yes, I broke even simple builds while working on that. (and so did you in #21 :P)
having a test.sh that would execute a sid build on an example package would have helped here
and if we have such a test.sh, we can also run it on travis :)

@lamby lamby changed the title TravisCI tests TravisCI tests for travis.debian.net (self-tests) Feb 11, 2017
@lamby lamby changed the title TravisCI tests for travis.debian.net (self-tests) Self-tests for travis.debian.net Nov 9, 2017
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

No branches or pull requests

2 participants