Skip to content

Commit

Permalink
Move no-snapshot lib to build dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Jun 8, 2017
1 parent 769b884 commit 2f61f34
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -6,7 +6,7 @@ matrix:
fast_finish: true
allow_failures:
- env: COVERAGE=1 USE_CPANFILE_SNAPSHOT=true
- env: USE_CPANFILE_SNAPSHOT=false PERL_CARTON_PATH=~/no-snapshot HARNESS_VERBOSE=1
- env: USE_CPANFILE_SNAPSHOT=false PERL_CARTON_PATH=$TRAVIS_BUILD_DIR/no-snapshot HARNESS_VERBOSE=1
env:
global:
# Carton --deployment only works on the same version of perl
Expand All @@ -18,7 +18,7 @@ env:
# Get one passing run with coverage and one passing run with Test::Vars
# checks. If run together they more than double the build time.
- COVERAGE=1 USE_CPANFILE_SNAPSHOT=true
- USE_CPANFILE_SNAPSHOT=false PERL_CARTON_PATH=~/no-snapshot HARNESS_VERBOSE=1
- USE_CPANFILE_SNAPSHOT=false PERL_CARTON_PATH=$TRAVIS_BUILD_DIR/no-snapshot HARNESS_VERBOSE=1
- USE_CPANFILE_SNAPSHOT=true

before_install:
Expand All @@ -32,8 +32,8 @@ before_install:

install:
- cpan-install --coverage # installs converage prereqs, if enabled
- 'cpm install `test "${USE_CPANFILE_SNAPSHOT}" = "false" && echo " -L ~/no-snapshot --resolver metadb" || echo " --resolver snapshot"`'
- find ~/no-snapshot | grep pm
- 'cpm install `test "${USE_CPANFILE_SNAPSHOT}" = "false" && echo " -L $TRAVIS_BUILD_DIR/no-snapshot --resolver metadb" || echo " --resolver snapshot"`'
- find $TRAVIS_BUILD_DIR/no-snapshot | grep pm

before_script:
- coverage-setup
Expand Down

0 comments on commit 2f61f34

Please sign in to comment.