Skip to content

Commit

Permalink
Reduce setup time in CI environments
Browse files Browse the repository at this point in the history
... by skipping the test phase when installing dependencies.
  • Loading branch information
paultcochrane committed Dec 16, 2018
1 parent c0bf7d9 commit 89bc5b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Expand Up @@ -8,8 +8,8 @@ install:
- set PATH=C:\strawberry\perl\bin;C:\strawberry\perl\site\bin;C:\strawberry\c\bin;%PATH%
- cd C:\projects\%APPVEYOR_PROJECT_NAME%
- cpanm Dist::Zilla
- dzil authordeps --missing | cpanm || type C:\Users\appveyor\.cpanm\build.log ; perl -e "exit 1"
- dzil listdeps --author --missing | cpanm || type C:\Users\appveyor\.cpanm\build.log ; perl -e "exit 1"
- dzil authordeps --missing | cpanm --notest || type C:\Users\appveyor\.cpanm\build.log ; perl -e "exit 1"
- dzil listdeps --author --missing | cpanm --notest || type C:\Users\appveyor\.cpanm\build.log ; perl -e "exit 1"

build_script:
- dzil test --author --release
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -14,8 +14,8 @@ perl:

install:
- sudo apt-get install net-tools
- dzil authordeps --missing | cpanm --no-skip-satisfied || { cat ~/.cpanm/build.log ; false ; }
- dzil listdeps --author --missing | cpanm --no-skip-satisfied || { cat ~/.cpanm/build.log ; false ; }
- dzil authordeps --missing | cpanm --notest --no-skip-satisfied || { cat ~/.cpanm/build.log ; false ; }
- dzil listdeps --author --missing | cpanm --notest --no-skip-satisfied || { cat ~/.cpanm/build.log ; false ; }

script:
- dzil test --author --release

0 comments on commit 89bc5b1

Please sign in to comment.