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

Give better example for hand-written script= #28

Open
kentfredric opened this issue Jan 7, 2016 · 1 comment
Open

Give better example for hand-written script= #28

kentfredric opened this issue Jan 7, 2016 · 1 comment

Comments

@kentfredric
Copy link

as per IRC:

  1. Using weird parameters to make don't work
  2. Blobs like this in script: give the wrong result.
before_install:
  - eval $(curl https://travis-perl.github.io/init) --auto
script:
  - perl Makefile.PL
  - make
  - prove -lv $(test-dirs)
@haarg
Copy link
Member

haarg commented Jan 7, 2016

It's unlikely that a script as shown could be made to work fully. The coverage handling needs to know when the test run ends, and there isn't really any way to detect that given an arbitrary script. But it could be adjusted to work better when you are using make test with extra parameters.

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