Skip to content

Remove unsafe/useless 'use lib' from codebase #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
MYMETA.json
MYMETA.yml
Makefile
blib
pm_to_blib
Perlbal-*
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

1 change: 0 additions & 1 deletion devtools/gendocs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

use strict;
use FindBin;
use lib "$FindBin::Bin/../lib";
use Perlbal;

my $tunables = Perlbal::Service::autodoc_get_tunables();
Expand Down
1 change: 0 additions & 1 deletion perlbal
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions t/77-plugin-throttle.t
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use strict;
use warnings;

use lib 't/lib';

use IO::Select;
use Perlbal::Test;
use Perlbal::Test::WebClient;
Expand Down
2 changes: 0 additions & 2 deletions t/78-plugin-xffextras.t
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use strict;
use warnings;

use lib 't/lib';

use Perlbal::Test;
use Perlbal::Test::WebClient;
use Perlbal::Test::WebServer;
Expand Down