Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixup! Simplify Travis install logic and specify cpm --workers
  • Loading branch information
oalders committed Sep 11, 2017
1 parent 0eb71f7 commit 75f246c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -20,13 +20,14 @@ env:
- METACPAN_SERVER_CONFIG_LOCAL_SUFFIX=testing

- DEVEL_COVER_OPTIONS="-ignore,^local/"
- PERL_CARTON_PATH=$TRAVIS_BUILD_DIR/local
matrix:
- CPAN_RESOLVER=metadb
- CPAN_RESOLVER=metadb PERL_CARTON_PATH=$TRAVIS_BUILD_DIR/no-snapshot HARNESS_VERBOSE=1
- CPAN_RESOLVER=snapshot

matrix:
allow_failures:
- env: CPAN_RESOLVER=metadb
- env: CPAN_RESOLVER=metadb PERL_CARTON_PATH=$TRAVIS_BUILD_DIR/no-snapshot HARNESS_VERBOSE=1
fast_finish: true

addons:
Expand All @@ -52,7 +53,7 @@ before_install:
- cpanm -n Safe@2.35

install:
- cpm install --resolver $CPAN_RESOLVER --workers $(test-jobs)
- cpm install -L $PERL_CARTON_PATH --resolver $CPAN_RESOLVER --workers $(test-jobs)

before_script:
- "perl -i -pe 's/(servers :)9900/localhost:9200/' metacpan_server_testing.conf"
Expand Down

0 comments on commit 75f246c

Please sign in to comment.