Skip to content

Commit

Permalink
use cpanminus
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Dec 12, 2017
1 parent f755c50 commit 8bae095
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- run: mkdir -p tmp/junit
- run: $(make rover) exec make busted
- run:
command: make prove
command: /usr/libexec/s2i/entrypoint make prove
environment:
JUNIT_OUTPUT_FILE: tmp/junit/prove.xml
HARNESS: TAP::Harness::JUnit
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ nginx:
prove: HARNESS ?= TAP::Harness
prove: export TEST_NGINX_RANDOMIZE=1
prove: $(ROVER) nginx ## Test nginx
(cd gateway && PERL_AUTOINSTALL_PREFER_CPAN=1 PERL_AUTOINSTALL=--checkdeps perl Makefile.PL)
env
cpanm --installdeps ./gateway
$(ROVER) exec prove -j$(NPROC) --harness=$(HARNESS) 2>&1 | awk '/found ONLY/ { print "FAIL: because found ONLY in test"; print; exit 1 }; { print }'

prove-docker: apicast-source
Expand Down
7 changes: 0 additions & 7 deletions gateway/Makefile.PL

This file was deleted.

2 changes: 2 additions & 0 deletions gateway/cpanfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requires 'Test::APIcast', '0.03';
requires 'JSON::WebToken';

0 comments on commit 8bae095

Please sign in to comment.