Skip to content

Commit

Permalink
Move to latest travis template
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Aug 28, 2019
1 parent 8cb1983 commit 72f07bf
Showing 1 changed file with 30 additions and 8 deletions.
38 changes: 30 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,44 @@ os:
- linux
# - osx

env: AUTOMATED_TESTING=1

perl:
- "5.30"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
# - "5.8" # cover doesn't work with this version
# - "5.20"
# - "5.18"
# - "5.16"
# - "5.14"
# - "5.12"

sudo: false

before_install:
cpanm -n Devel::Cover::Report::Coveralls Test::Pod::Spelling::CommonMistakes Test::Portability::Files
# - sudo apt-get update -q
# - sudo apt-get install sqlite3 libdbi-perl libdbd-sqlite3-perl
- cpanm -n Devel::Cover::Report::Coveralls Test::Pod::Spelling::CommonMistakes Test::Portability::Files

install:
- cpanm -v --installdeps --notest .

script:
perl Makefile.PL && make && cover -test -report coveralls

jobs:
include:
- stage: Windows
os: windows
language: shell
before_install:
- cinst -y strawberryperl
- export "PATH=/c/Strawberry/perl/site/bin:/c/Strawberry/perl/bin:/c/Strawberry/c/bin:$PATH"
install:
- cpanm --notest --installdeps .
script:
- perl Makefile.PL
- gmake
- gmake test

0 comments on commit 72f07bf

Please sign in to comment.