diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f6f26a4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +MYMETA.json +MYMETA.yml +Makefile +blib +pm_to_blib +Perlbal-* diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..78d1621 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +branches: + except: + - /^issue\d+/ + - /^gh\d+/ +language: perl +matrix: + fast_finish: true +# allow_failures: +# - perl: "5.12" +# - perl: "5.10" +env: + global: + - PERL_USE_UNSAFE_INC=0 + - AUTHOR_TESTING=1 + - AUTOMATED_TESTING=1 + - RELEASE_TESTING=1 +perl: + - "5.28" + - "5.26" + - "5.24" + - "5.22" + - "5.20" + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" +script: + - perl Makefile.PL && make test + diff --git a/devtools/gendocs.pl b/devtools/gendocs.pl index e5a0553..884ac64 100755 --- a/devtools/gendocs.pl +++ b/devtools/gendocs.pl @@ -3,7 +3,6 @@ use strict; use FindBin; -use lib "$FindBin::Bin/../lib"; use Perlbal; my $tunables = Perlbal::Service::autodoc_get_tunables(); diff --git a/perlbal b/perlbal index f4fef81..7d75dcc 100755 --- a/perlbal +++ b/perlbal @@ -32,7 +32,6 @@ You can use and redistribute Perlbal under the same terms as Perl itself. use strict; use warnings; -use lib 'lib'; use Perlbal; my $opt_daemonize; diff --git a/t/77-plugin-throttle.t b/t/77-plugin-throttle.t index 74f1bb8..35f24b2 100644 --- a/t/77-plugin-throttle.t +++ b/t/77-plugin-throttle.t @@ -1,8 +1,6 @@ use strict; use warnings; -use lib 't/lib'; - use IO::Select; use Perlbal::Test; use Perlbal::Test::WebClient; diff --git a/t/78-plugin-xffextras.t b/t/78-plugin-xffextras.t index bd6e1cb..d04478b 100644 --- a/t/78-plugin-xffextras.t +++ b/t/78-plugin-xffextras.t @@ -1,8 +1,6 @@ use strict; use warnings; -use lib 't/lib'; - use Perlbal::Test; use Perlbal::Test::WebClient; use Perlbal::Test::WebServer;