sudo: false # run in a docker container
language: perl
perl:
  - "5.24"
  - "5.22"
  - "5.20"
  - "5.18"
env:
  - TRAVIS_RUST_VERSION=stable
  - TRAVIS_RUST_VERSION=beta
  - TRAVIS_RUST_VERSION=nightly

before_install:
  - curl -sSf https://build.travis-ci.org/files/rustup-init.sh | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
  - export PATH="$HOME/.cargo/bin:$PATH"
  - rustc --version
  - rustup --version
  - cargo --version
  - echo

script:
  - cd t/
  - perl Makefile.PL && make test

sudo: false # run in a docker container
language: perl
perl:
  - "5.26"
  - "5.24"
  - "5.24-shrplib"
  - "5.22"
  - "5.20"
env:
  - TRAVIS_RUST_VERSION=stable
  - TRAVIS_RUST_VERSION=beta
  - TRAVIS_RUST_VERSION=nightly

before_install:
  - curl -sSf https://build.travis-ci.org/files/rustup-init.sh | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y
  - export PATH="$HOME/.cargo/bin:$PATH"
  - rustc --version
  - rustup --version
  - cargo --version
  - echo

script:
  - cd t/
  - perl Makefile.PL && make test

Update list of perl versions to test against.
Update list of perl versions to test against.

Removed 5.18 because it is not supported by perl-xs.

Added 5.26 which was released recently.

Also nice to have at least one version with threading support, as it has
different XS ABI.
