Git Product home page Git Product logo

Comments (9)

kdere avatar kdere commented on July 19, 2024 1

OK, my local code now seems to be up-to-date and I can build the docs and the mathjax stuff shows up OK.
I will next continue with docs for the ion class

from chiantipy.

wtbarnes avatar wtbarnes commented on July 19, 2024 1

@kdere Yes, in my experience configuring a Travis build is just a matter of adding the .travis.yml file to the repo. Since this is just a single file in the top level directory, it should not conflict with anything you're working on.

@Cadair Oh yes I've learned this the hard way. Recently tried to install scipy on Travis with pip...it did not end well. Then I discovered the magic of ci-helpers.

from chiantipy.

wtbarnes avatar wtbarnes commented on July 19, 2024

Yes this will configure a GitHub webhook to allow Travis to know when commits happen on a given repo so it can trigger the appropriate process at each commit, either at every branch or at only those branches that you whitelist.

I've had some experience setting up Travis for a couple of different repos (it is very easy) so I can take a look at this in next day or so. For now, we can just run setup.py to make sure the install is at least not broken. As long as you "switch on" the chianti-atomic/ChiantiPy repo, its just a matter of adding a .travis.yml file to the repo.

Later on, once some tests get written for different parts of the package, these will be very easy to integrate right into the CI build process so that all tests are run at each commit as well

from chiantipy.

Cadair avatar Cadair commented on July 19, 2024

drive by recommendation, you want this: https://github.com/astropy/ci-helpers

from chiantipy.

kdere avatar kdere commented on July 19, 2024

I looked at some of the travis web pages and the setup up looked like more than I wanted to take on, such as installing postgres - well, by itself that is not hard to do.
If it is just as simple as a .travis.yml file, that is fine.
I am in the process of fixing my last pull request. Hope to finish that this morning - not the only thing on my schedule. Then I will let you go ahead with travis, If they don't conflict, please proceed at your leasure.

from chiantipy.

kdere avatar kdere commented on July 19, 2024

I merged the pull request.
I will be on vacation starting next week for 3 weeks or so.

from chiantipy.

wtbarnes avatar wtbarnes commented on July 19, 2024

Thanks @kdere. Enjoy your vacation.

Did you enable the build on travis-ci.org? When I go to the chianti-atomic/ChiantiPy page, it says it is not an active repository.

from chiantipy.

kdere avatar kdere commented on July 19, 2024

I think I enabled the build on travis. Clicked on the build button on ChiantiPy. Let me know by Tuesday what you think.

from chiantipy.

wtbarnes avatar wtbarnes commented on July 19, 2024

Everything looks good! Thanks. Closing this issue for now since the initial Travis build has been set up.

from chiantipy.

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.