language: perl
perl:
  - "5.14"

before_install:
  - sudo apt-get update
  - sudo apt-get install build-essential libpng-dev zlib1g-dev libgd2-xpm-dev
  - sudo apt-get install libdb-dev 
  - cpanm --self-contained -l extlib/ PerlIO::gzip
  - cpanm --self-contained -l extlib/ GD::Image
  - cpanm --self-contained -l extlib/ DBI DB_File Data::Stag
  - cpanm --self-contained -l extlib/ URI::Escape 
  - ./setup.sh
  - ls -l /home/travis/build/cmdcolin/jbrowse/extlib/lib/perl5

script:
  - prove -I src/perl5 -r tests/perl_tests

after_failure: cat /home/travis/.cpanm/work/*/build.log 

language: perl
perl:
  - "5.14"

before_install:
  - sudo apt-get update
  - sudo apt-get install build-essential libpng-dev zlib1g-dev libgd2-xpm-dev
  - sudo apt-get install libdb-dev 
  - wget https://github.com/bioperl/bioperl-live/archive/release-1-6-922.zip
  - unzip bioperl-live-release-1-6-922.zip -d bioperl
  - cd bioperl
  - perl Build.PL
  - ./Build
  - sudo ./Build install
  - cpanm --self-contained -l extlib/ PerlIO::gzip
  - cpanm --self-contained -l extlib/ GD::Image
  - cpanm --self-contained -l extlib/ DBI DB_File Data::Stag
  - cpanm --self-contained -l extlib/ URI::Escape 
  - ./setup.sh
  - ls -l /home/travis/build/cmdcolin/jbrowse/extlib/lib/perl5

script:
  - prove -I src/perl5 -r tests/perl_tests

after_failure: cat /home/travis/.cpanm/work/*/build.log 

Add bioperl old version for test validation
Add bioperl old version for test validation
