-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (30 loc) · 708 Bytes
/
Copy path.travis.yml
File metadata and controls
30 lines (30 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
dist: trusty
language: perl
sudo: required
addons:
apt:
update: true
perl:
- '5.8'
- '5.24'
env:
global:
- PERL_MM_USE_DEFAULT=1
- TEST_AUTHOR=1 NIS_TEST_HOST=localhost NIS_TEST_USER=user NIS_TEST_PASS=password
cache:
directories:
- perl_modules
before_install:
- sudo apt-get install -y haveged
- sudo bash contrib/travis/config-ssl.sh
- sudo bash contrib/travis/config-dovecot.sh
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- cpanm --notest local::lib Test::Perl::Critic
- eval "$(perl -Mlocal::lib=${PWD}/perl_modules)"
- build-dist
- cd $BUILD_DIR
script:
- make test