Skip to content

Instantly share code, notes, and snippets.

@ranginui
Created April 15, 2011 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ranginui/920889 to your computer and use it in GitHub Desktop.
Save ranginui/920889 to your computer and use it in GitHub Desktop.
#!/bin/bash -x
#
# Script for use with jenkins to test Koha
make clean
source install_misc/environment_Makefile.PL || exit 1
perl Makefile.PL
# Actually build the project
make || exit 3
export KOHA_CONF=/var/lib/jenkins/jobs/Koha_master/workspace/blib/KOHA_CONF_DIR/koha-conf.xml
export PERL5LIB=/var/lib/jenkins/jobs/Koha_master/workspace
export TEST_QA=1
prove_cover t/ t/db_dependent/ t/db_dependent/Labels xt/author/icondirectories.t xt/author/podcorrectness.t xt/author/translatable-templates.t xt/author/valid-templates.t xt/permissions.t xt/syspref.t --harness=TAP::Harness::JUnit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment