From: skaufman Date: Fri, 15 Aug 2014 21:10:55 +0000 (+0100) Subject: first attempt at adding travis ci X-Git-Tag: v1.001025~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ff1816af4d894e9c8abb9ef3afce0bc79cf1d65;p=dbsrgits%2FDBIx-Class-Fixtures.git first attempt at adding travis ci --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4da90ef --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ + language: perl + perl: + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" + - "5.8" + - "5.6" diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..ea00994 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,102 @@ + +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020. +use strict; +use warnings; + +use 5.006001; + +use ExtUtils::MakeMaker ; + + + +my %WriteMakefileArgs = ( + "ABSTRACT" => "Dump data and repopulate a database using rules", + "AUTHOR" => "Luke Saunders ", + "BUILD_REQUIRES" => { + "DBIx::Class::InflateColumn::FS" => "0.01007", + "ExtUtils::MakeMaker" => "6.59", + "Test::More" => "0.98" + }, + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.59" + }, + "DISTNAME" => "DBIx-Class-Fixtures", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "DBIx::Class::Fixtures", + "PREREQ_PM" => { + "Class::Accessor::Grouped" => "0.1001", + "Config::Any" => "0.23", + "DBIx::Class" => "0.08102", + "DBIx::Class::Schema::Loader" => "0.07035", + "Data::Dump::Streamer" => "2.05", + "Data::Visitor" => "0.3", + "DateTime" => "1.03", + "DateTime::Format::MySQL" => 0, + "DateTime::Format::Pg" => 0, + "DateTime::Format::SQLite" => "0.1", + "File::Copy::Recursive" => "0.38", + "File::Path" => "2.09", + "File::Spec::Functions" => "3.4", + "Hash::Merge" => "0.1", + "JSON::Syck" => "1.27", + "MIME::Base64" => 0, + "Path::Class" => "0.32", + "Scalar::Util" => "1.27", + "Test::Compile::Internal" => 0 + }, + "TEST_REQUIRES" => { + "File::Spec" => 0, + "IO::Handle" => 0, + "IPC::Open3" => 0, + "Test::More" => "0.98" + }, + "VERSION" => "1.001025", + "test" => { + "TESTS" => "t/*.t" + } +); + + +my %FallbackPrereqs = ( + "Class::Accessor::Grouped" => "0.1001", + "Config::Any" => "0.23", + "DBIx::Class" => "0.08102", + "DBIx::Class::InflateColumn::FS" => "0.01007", + "DBIx::Class::Schema::Loader" => "0.07035", + "Data::Dump::Streamer" => "2.05", + "Data::Visitor" => "0.3", + "DateTime" => "1.03", + "DateTime::Format::MySQL" => 0, + "DateTime::Format::Pg" => 0, + "DateTime::Format::SQLite" => "0.1", + "ExtUtils::MakeMaker" => "6.59", + "File::Copy::Recursive" => "0.38", + "File::Path" => "2.09", + "File::Spec" => 0, + "File::Spec::Functions" => "3.4", + "Hash::Merge" => "0.1", + "IO::Handle" => 0, + "IPC::Open3" => 0, + "JSON::Syck" => "1.27", + "MIME::Base64" => 0, + "Path::Class" => "0.32", + "Scalar::Util" => "1.27", + "Test::Compile::Internal" => 0, + "Test::More" => "0.98" +); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; +} + +delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + +WriteMakefile(%WriteMakefileArgs); + + + diff --git a/dist.ini b/dist.ini index 0526671..ce93024 100644 --- a/dist.ini +++ b/dist.ini @@ -44,12 +44,16 @@ repository.type = git [GatherDir] exclude_match=.*\.db +exclude_filename = Makefile.PL [Encoding] encoding=bytes match=.*\.db + +[CopyFilesFromBuild] +copy = Makefile.PL [Prereqs / ConfigureRequires] - ExtUtils::MakeMaker=6.59 +ExtUtils::MakeMaker=6.59 [Prereqs / BuildRequires] DBIx::Class::InflateColumn::FS = 0.01007