Evolution of the bump-on-tail instability in compressing plasma