travis: compile all .py files
Minor speedup: Delay any calculation until we are sure we won't abort