Try to fix coverity scan by moving discount build to before_script