Coder Social home page Coder Social logo

Comments (6)

tonylampada avatar tonylampada commented on July 23, 2024

This might be a good start --> http://stackoverflow.com/questions/12343452/publish-artifacts-in-travis-ci-how

from www.freedomsponsors.org.

tonylampada avatar tonylampada commented on July 23, 2024

Another link that will help --> http://darvin.github.com/blog/2013/01/13/Prose_Octopress_TravisIO/

from www.freedomsponsors.org.

iurisilvio avatar iurisilvio commented on July 23, 2024

You already generate coverage reports, just need to publish it. Use ghp-import (https://github.com/davisp/ghp-import) to push it to your gh-pages branch.

Something like:

after_script: ghp-import htmlcov

from www.freedomsponsors.org.

tonylampada avatar tonylampada commented on July 23, 2024

Do you know how do I configure Travis to succesfully authenticate on github (so it'll be able to push to it)?
Right now, I'm in the middle of implementing a sort of complicated mechanism to do that: which is serializing my private key in a bunch travis secret environment variables, as suggested here. Do you know of a better way to do that?

from www.freedomsponsors.org.

iurisilvio avatar iurisilvio commented on July 23, 2024

No, never did it. :/ I use ghp-import to publish my blog, but I don't use travis to do it.

from www.freedomsponsors.org.

tonylampada avatar tonylampada commented on July 23, 2024

Done!!!

It was a little tricky though.

I had to add my private key (encrypted) to the repository, following the procedure described here, which is:

  • convert my ~/.ssh/id_rsa to base64
  • split the resulting contents in 80 byte lines (in a total of 29 lines)
  • Using the travis command line tool to encrypt each one into a environment variable (from idrsa_00 to idrsa_28)

Add the result to .travis.yml

Then I need to make travis reconstitute the file and use it to push to gh-pages, this is done by the upload_travis_reports.sh script.

The resulting report is published here:
http://freedomsponsors.github.com/www.freedomsponsors.org/coverage_html_report/

nice, huh :-)

from www.freedomsponsors.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.