summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2018-04-22 13:07:37 +0200
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2018-04-22 13:07:37 +0200
commitee94efb0ca4d5e4c5fd9ab16bcba553b7d7b3b18 (patch)
tree6f04bf8bee274fdc7edf1b084bda975624f427ca
parentc4f9df323435bb07d0c2e3ffda1b9300875e110a (diff)
downloadcarton-ee94efb0ca4d5e4c5fd9ab16bcba553b7d7b3b18.tar.gz
add use lib .
-rw-r--r--.travis.yml3
-rw-r--r--xt/cli/bundle.t1
-rw-r--r--xt/cli/check.t1
-rw-r--r--xt/cli/cpanfile.t1
-rw-r--r--xt/cli/deployment.t1
-rw-r--r--xt/cli/deps_phase.t1
-rw-r--r--xt/cli/exec.t1
-rw-r--r--xt/cli/freeze.t1
-rw-r--r--xt/cli/help.t1
-rw-r--r--xt/cli/install.t1
-rw-r--r--xt/cli/json_pp.t1
-rw-r--r--xt/cli/mirror.t1
-rw-r--r--xt/cli/mismatch.t1
-rw-r--r--xt/cli/no_cpanfile.t1
-rw-r--r--xt/cli/perl.t1
-rw-r--r--xt/cli/snapshot.t1
-rw-r--r--xt/cli/subdir.t1
-rw-r--r--xt/cli/tree.t1
-rw-r--r--xt/cli/update.t1
-rw-r--r--xt/cli/version.t1
-rw-r--r--xt/cli/without.t1
21 files changed, 20 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 8fe8b6f..673033f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,3 @@ install:
script:
- prove -lr xt -j9
sudo: false
-env:
- global:
- - PERL_USE_UNSAFE_INC=1
diff --git a/xt/cli/bundle.t b/xt/cli/bundle.t
index aa84f24..3a66ea3 100644
--- a/xt/cli/bundle.t
+++ b/xt/cli/bundle.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/check.t b/xt/cli/check.t
index dd00ed9..7aa3685 100644
--- a/xt/cli/check.t
+++ b/xt/cli/check.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'carton check fails when there is no lock' => sub {
diff --git a/xt/cli/cpanfile.t b/xt/cli/cpanfile.t
index b663b37..fce523d 100644
--- a/xt/cli/cpanfile.t
+++ b/xt/cli/cpanfile.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'carton install --cpanfile' => sub {
diff --git a/xt/cli/deployment.t b/xt/cli/deployment.t
index 175f87a..4c2cfda 100644
--- a/xt/cli/deployment.t
+++ b/xt/cli/deployment.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/deps_phase.t b/xt/cli/deps_phase.t
index 862dc76..c3469e3 100644
--- a/xt/cli/deps_phase.t
+++ b/xt/cli/deps_phase.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/exec.t b/xt/cli/exec.t
index 233f790..083490d 100644
--- a/xt/cli/exec.t
+++ b/xt/cli/exec.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'carton exec without a command', sub {
diff --git a/xt/cli/freeze.t b/xt/cli/freeze.t
index f02a2c3..a8c23ab 100644
--- a/xt/cli/freeze.t
+++ b/xt/cli/freeze.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/help.t b/xt/cli/help.t
index 0ad0896..85d3638 100644
--- a/xt/cli/help.t
+++ b/xt/cli/help.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/install.t b/xt/cli/install.t
index efd2e2c..3397493 100644
--- a/xt/cli/install.t
+++ b/xt/cli/install.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'carton install with version range' => sub {
diff --git a/xt/cli/json_pp.t b/xt/cli/json_pp.t
index 5a5859e..09ac2d7 100644
--- a/xt/cli/json_pp.t
+++ b/xt/cli/json_pp.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
plan skip_all => "perl <= 5.14" if $] >= 5.015;
diff --git a/xt/cli/mirror.t b/xt/cli/mirror.t
index 5ab9a29..4628d4d 100644
--- a/xt/cli/mirror.t
+++ b/xt/cli/mirror.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
my $cwd = Path::Tiny->cwd;
diff --git a/xt/cli/mismatch.t b/xt/cli/mismatch.t
index 11d5af4..50a2dd3 100644
--- a/xt/cli/mismatch.t
+++ b/xt/cli/mismatch.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/no_cpanfile.t b/xt/cli/no_cpanfile.t
index e12d2c3..97b4ad8 100644
--- a/xt/cli/no_cpanfile.t
+++ b/xt/cli/no_cpanfile.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/perl.t b/xt/cli/perl.t
index a7e0143..ec465c5 100644
--- a/xt/cli/perl.t
+++ b/xt/cli/perl.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/snapshot.t b/xt/cli/snapshot.t
index b036af7..116abf8 100644
--- a/xt/cli/snapshot.t
+++ b/xt/cli/snapshot.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'snapshot file has canonical representation' => sub {
diff --git a/xt/cli/subdir.t b/xt/cli/subdir.t
index 84d244f..6e26de7 100644
--- a/xt/cli/subdir.t
+++ b/xt/cli/subdir.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'carton exec in subdir', sub {
diff --git a/xt/cli/tree.t b/xt/cli/tree.t
index bc7ce8c..ca8b6a2 100644
--- a/xt/cli/tree.t
+++ b/xt/cli/tree.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
{
diff --git a/xt/cli/update.t b/xt/cli/update.t
index 22745bd..861050b 100644
--- a/xt/cli/update.t
+++ b/xt/cli/update.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'carton update NonExistentModule' => sub {
diff --git a/xt/cli/version.t b/xt/cli/version.t
index d99b9d6..9aba1b6 100644
--- a/xt/cli/version.t
+++ b/xt/cli/version.t
@@ -1,6 +1,7 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
my $app = cli();
diff --git a/xt/cli/without.t b/xt/cli/without.t
index d9c51f7..71d574b 100644
--- a/xt/cli/without.t
+++ b/xt/cli/without.t
@@ -1,5 +1,6 @@
use strict;
use Test::More;
+use lib ".";
use xt::CLI;
subtest 'carton install --without develop' => sub {