flu-plus-plus / bachelorproef

Bachelorproef Informatica Universiteit Antwerpen 2016–2017
Other
0 stars 4 forks source link

Fix travel model memory leak, deal with travis push git lock contention #50

Closed jonathanvdc closed 7 years ago

jonathanvdc commented 7 years ago

This PR fixes a tiny memory leak caused by cyclic std::shared_ptr<Airport> references.

It also solves the problem of git push lock contention for Travis CI pushes to flu-plus-plus.github.io by making push-report.sh script more stubborn. If push-report.sh can't push a commit, it now will nuke the commit, regenerate the comparison report, create a new commit and try to push that. push-report.sh will do this at most three times.

Builds should no longer fail because two jobs tried to push their results simultaneously.