tests: run tests from built artifact

Rather than testing against an install from source, ensure that all tests run from what _would_ be installed on a user's server. This ensures that the build process is sound, regardless of what code changes are implemented.
This commit is contained in:
Jose Diaz-Gonzalez
2018-12-29 16:45:35 -05:00
parent fc5f0c6685
commit c344efdd8d
3 changed files with 56 additions and 7 deletions

View File

@@ -155,7 +155,6 @@ main() {
fn-publish-package "$IS_RELEASE" "deb" "build/dokku-update_${NEXT_VERSION}_amd64.deb" || log-fail "Error publishing deb package"
fn-publish-package "$IS_RELEASE" "rpm" "build/dokku-update-${NEXT_VERSION}-1.x86_64.rpm" || log-fail "Error publishing rpm package"
fi
}
main "$@"