Skip to content

Commit 17e85ec

Browse files
committed
Merge branch 'restore-gitpan-access'
2 parents a7786e6 + b0d6556 commit 17e85ec

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitpan

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,6 @@ backpan_always_update: 0
780780
backpan_cache_ttl: 604800
781781

782782
github_owner: gitpan-test
783-
github_access_token: d0e256108f5384fec8c24f26c21ee831cbd208aa
784783

785784
committer_name: Gitpan Test
786785
committer_email: schwern+gitpan-test@pobox.com
@@ -794,7 +793,6 @@ overlays:
794793
backpan_url: file:t/backpan/
795794

796795
github_owner: gitpan-test
797-
github_access_token: d0e256108f5384fec8c24f26c21ee831cbd208aa
798796

799797
committer_name: Gitpan Test
800798
committer_email: schwern+gitpan-test@pobox.com

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
language: perl
22
perl:
33
- "5.18"
4+
env:
5+
- secure: "EOModDmXL8VA4AbV1BeNeQFqp8PHDFBzVB2gjyzKWCudqX7Byv6BNNSk28q7OVzk2H6Su22upzyWtdluhGIAdj9cwxbJJ9uVQ5512yPtdjdiznDK+55kcKVKdD1RVewieXKZeHyIWO9Ffn2KhDN0NzGo/3u9kvqDB/LxdyOxqbA="

t/lib/Gitpan/Test.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ use Test::Most ();
1010
method import($class: ...) {
1111
my $caller = caller;
1212

13+
warn "GITPAN_GITHUB_ACCESS_TOKEN is not set, tests which talk to Github will probably fail" unless $ENV{GITPAN_GITHUB_ACCESS_TOKEN};
14+
1315
$ENV{GITPAN_CONFIG_DIR} //= "."->path->absolute;
1416
$ENV{GITPAN_TEST} //= 1;
1517

0 commit comments

Comments
 (0)