Giter Site home page Giter Site logo

Comments (7)

rhofour avatar rhofour commented on June 11, 2024

I just added this for one of my repos: https://github.com/rhofour/elm-pairing-heap

Even without unit tests I think there are some benefits here.

  1. It can check both the main project and all the examples build
  2. It can enforce elm-format use (See #10 )

And of course when I get around to adding unit tests it can enforce those too.

from elm-webmidi-ports.

newlandsvalley avatar newlandsvalley commented on June 11, 2024

Yes - I would very much like to do this (for nearly all my repos - particularly Elm and PureScript). Do you know of a good tutorial?

from elm-webmidi-ports.

rhofour avatar rhofour commented on June 11, 2024

Unfortunately not, especially for Elm where there are some important tricks that bring the build times down from minutes to seconds.

The other big issue is replicating what Travis CI is doing locally feels particularly difficult and poorly documented. Especially for something that's supposed to be clean and repeatable. The best I found for that was this stack overflow answer which isn't very satisfying, but at least worked.

My plan was to copy over the config from my other project, remove elm-test, and add in the steps to build the various examples.

from elm-webmidi-ports.

rhofour avatar rhofour commented on June 11, 2024

I'll probably have a PR to add this in a couple of hours.

from elm-webmidi-ports.

newlandsvalley avatar newlandsvalley commented on June 11, 2024

Yes - it's always seemed like a black art to me. Do I need to run my own local Travis? I'll have to buckle down to try to learn it somehow. How do you get the nice 'build passing' logo on the README? The makefile is a great improvement. I hope the CI setup goes OK. I'll take a look tomorrow.

from elm-webmidi-ports.

rhofour avatar rhofour commented on June 11, 2024

You don't need to run your own local one. It seems like the intended workflow is you copy someone else's .travis.yml file, you upload it, wait for it to fail to build, then debug from there. Running it locally seems like a much more sane way to get started, but it's certainly not easier.

The logo is just a special image link you can easily find on travis-ci.org.

It looks like I can't enable Travis CI for this repo so I'll do it for my fork then send you the PR. It should be pretty easy for you to enable it on this repo at travis-ci.org. Then all you'll have to do is update the image in the README.

from elm-webmidi-ports.

newlandsvalley avatar newlandsvalley commented on June 11, 2024

Fixed, courtesy of @rhofour via 049f82d. Very many thanks!

from elm-webmidi-ports.

Related Issues (7)

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.