use Travis CI
Karen Etheridge [Sat, 21 Apr 2018 18:17:17 +0000 (20:17 +0200)]
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..7e5a53d
--- /dev/null
@@ -0,0 +1,41 @@
+addons:
+  apt:
+    packages:
+      - aspell
+language: perl
+perl:
+  - blead       # builds perl from git
+  - dev         # latest point release
+  - "5.26"
+  - "5.24"
+  - "5.22"
+  - "5.20"
+  - "5.18"
+  - "5.16"
+  - "5.14"
+  - "5.12"
+  - "5.10"
+  - "5.8"
+  - "5.6.2"
+matrix:
+  include:
+    - perl: 5.18
+      env: COVERAGE=1
+env:
+  global:
+    - AUTHOR_TESTING=1
+    - AUTOMATED_TESTING=1
+    - RELEASE_TESTING=0
+before_install:
+  - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
+  - source ~/travis-perl-helpers/init
+  - build-perl
+  - perl -V
+  - build-dist
+  - cd $BUILD_DIR
+install:
+  - cpan-install --deps
+script:
+  - perl Makefile.PL
+  - make
+  - prove -b -r -s -j$(test-jobs) $(test-files)