30 lines
896 B
YAML
30 lines
896 B
YAML
---
|
|
sudo: false
|
|
env:
|
|
- PERL_LWP_SSL_VERIFY_HOSTNAME=0
|
|
cache:
|
|
directories:
|
|
- $HOME/.cpanm
|
|
- $HOME/.nvm
|
|
- $HOME/perl5/perlbrew/perls/5.26/lib
|
|
- /var/tmp
|
|
addons:
|
|
apt_packages:
|
|
- libmpfr-dev
|
|
before_install:
|
|
- export HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
|
|
- git config --global user.name "Dist Zilla Plugin TravisCI"
|
|
- git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
|
|
install:
|
|
- npm install -g uglify-js handlebars jasmine-node
|
|
- npm install mathjs
|
|
- cpanm --quiet --notest Dist::Zilla
|
|
- dzil authordeps | grep -ve '^\W' | cpanm --quiet --notest --mirror http://www.cpan.org/ --mirror http://duckpan.org --mirror-only
|
|
- dzil listdeps | grep -ve '^\W' | cpanm --quiet --notest --mirror http://www.cpan.org --mirror http://duckpan.org --mirror-only
|
|
language: perl
|
|
perl:
|
|
- 5.26
|
|
script:
|
|
- jasmine-node --test-dir spec/
|
|
- prove -lr -j1 t
|