Lately I set up Travis.CI for my Mavis project. It’s hosted continuous integration service free for open source projects. It’ll build your project and, optionally, run tests after every push to remote repository that contains travis.yml configuration file.
As I never really used ant or travis.ci before it took me too many hours to actually setup it correctly, so I figured I’ll share new knowledge.
It is – as name suggests – helping tool for Modeling of Discrette Processes (in polish Modelowanie Procesów Dyskretnych). Purpose was to automatise solving simple, offline scheduling problems for two, or three machines. It supports:
- Fist In First Out rule for one machine systems
- Johnson’s algorithm for permutation flow systems,
- Longest and Reverse Processing Time algorithms for parallel systems,
- Hu T.C. algorithm for parallel systems with tree precedence and processing time equal to 1 time unit constraints
Some days ago I mentioned on twitter that I feel trapped inside infinite refactoring loop. I see various places that I’m not satisfied with in my code, and it keeps me from adding new features. Yesterday I finally added one, simple algorithm to check how refactoring simplified code structure… well… it’s not that bad. But I decided to work some more on ploter class. It have some nasty magic numbers and very messy draw function (you can see it here). Read more