language: perl
perl:
  - "5.14"
  - "5.16"

install:
  - sudo apt-get install libdb-dev libgd2-noxpm-dev
  - cpanm --notest -L extlib/ GD::Image URI::Escape
  - cpanm --notest -l extlib/ git://github.com/bioperl/bioperl-live.git@v1.6.x
  - bash setup.sh
  - npm install -g http-server
script:
  - make -f build/Makefile release-min
  - nohup http-server -p 9000 2>&1 &
  - prove -Isrc/perl5 -lr tests
  - phantomjs tests/js_tests/run-jasmine.js http://localhost:9000/tests/js_tests

after_failure: cat setup.log 

language: perl
perl:
  - "5.14"

install:
  - sudo apt-get install libdb-dev libgd2-noxpm-dev
  - cpanm --notest -L extlib/ GD::Image URI::Escape
  - cpanm --notest -l extlib/ git://github.com/bioperl/bioperl-live.git@v1.6.x
  - bash setup.sh
  - npm install -g http-server
script:
  - node src/dojo/dojo.js load=build --require "$(JSDIR)/init.js" --profile "$(JSDIR)/JBrowse.profile.js" --releaseDir "$(RELEASE_FULL_DIR)/src";
  - nohup http-server -p 9000 2>&1 &
  - prove -Isrc/perl5 -lr tests
  - phantomjs tests/js_tests/run-jasmine.js http://localhost:9000/tests/js_tests

after_failure: cat setup.log 

Modify the minification checker and remove 5.16 from the build matrix (add 5.18 in the future)
Modify the minification checker and remove 5.16 from the build matrix (add 5.18 in the future)
