Commit c68a7ad4 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

add perl critic to travis test

parent d07bf3d9
...@@ -15,6 +15,8 @@ test_requires 'Error'; ...@@ -15,6 +15,8 @@ test_requires 'Error';
test_requires 'PadWalker'; test_requires 'PadWalker';
test_requires 'Test::Builder::Module'; test_requires 'Test::Builder::Module';
test_requires 'IO::String'; test_requires 'IO::String';
test_requires 'Test::Perl::Critic';
test_requires 'Perl::Critic::Utils';
=cut =cut
feature 'assembly_mapping', 'Assembly mapper support' => sub { feature 'assembly_mapping', 'Assembly mapper support' => sub {
...@@ -29,4 +31,4 @@ feature 'xref_mapping', 'Xref mapping pipeline' => sub { ...@@ -29,4 +31,4 @@ feature 'xref_mapping', 'Xref mapping pipeline' => sub {
requires 'XML::LibXML'; requires 'XML::LibXML';
requires 'XML::Simple'; requires 'XML::Simple';
}; };
=cut =cut
\ No newline at end of file
#!/bin/bash #!/bin/bash
export PERL5LIB=$PWD/bioperl-live-bioperl-release-1-2-3:$PWD/ensembl-test/modules:$PWD/modules:$PWD/ensembl-variation/modules export PERL5LIB=$PWD/bioperl-live-bioperl-release-1-2-3:$PWD/ensembl-test/modules:$PWD/modules:$PWD/ensembl-variation/modules
export TEST_AUTHOR=$USER
if [ "$DB" = 'mysql' ]; then if [ "$DB" = 'mysql' ]; then
(cd modules/t && ln -sf MultiTestDB.conf.mysql MultiTestDB.conf) (cd modules/t && ln -sf MultiTestDB.conf.mysql MultiTestDB.conf)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment