`compile_all.sh` script starts to be very complex. Let's rewrite it in python. In the same time, update the travis scripts to handle deployement of release versions.