integrate regression tests with build script