Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Start using Travis perl-helpers
  • Loading branch information
oalders committed Nov 10, 2017
commit a67cc328537be7579b750d25791f397c0d4bb299
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ addons:
- postgresql-server-dev-all

before_install:
- sudo service elasticsearch stop && curl -O -L https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.4.3.deb && sudo dpkg -i --force-confnew elasticsearch-2.4.3.deb && sudo service elasticsearch start
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init

- sudo service elasticsearch stop && curl -O -L https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-2.4.3.deb && sudo dpkg -i --force-confnew elasticsearch-2.4.3.deb && sudo service elasticsearch start
- sudo service elasticsearch restart

#- cpanm -n Devel::Cover::Report::Coveralls
Expand All @@ -56,10 +58,7 @@ before_script:
- "perl -i -pe 's/(servers :)9900/localhost:9200/' metacpan_server_testing.conf"

script:
# Devel::Cover isn't in the cpanfile
# but if it's installed into the global dirs this should work.
#- HARNESS_PERL_SWITCHES=-MDevel::Cover=+ignore,local carton exec prove -It/lib -lr -j 2 t
- carton exec prove -It/lib -lr -j 2 t
- carton exec prove -lr -j$(test-jobs) t

after_success:
# - cover -report coveralls
Expand Down