forked from jacquesg/p5-Git-Raw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (50 loc) · 1.49 KB
/
.travis.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: perl
os:
- linux
perl:
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
- "dev"
matrix:
allow_failures:
- perl: dev
env:
- RELEASE_TESTING=1 NETWORK_TESTING=1 AUTOMATED_TESTING=1
cache:
- apt
- ccache
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
install:
- sudo apt-get -qq update
- sudo apt-get -qq install libssl-dev libssh2-1-dev openssh-client openssh-server
- git config --global user.name "p5-Git-Raw"
- git config --global user.email "[email protected]"
- cpanm --quiet --notest Dist::Zilla~">= 5.0000, < 6.0000"
- cpanm --quiet --notest Dist::Zilla::PluginBundle::Author::ALEXBIO
- cpanm --quiet --notest Pod::Coverage::TrustPod
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
- cpanm --quiet --notest Dist::Zilla::App::Command::cover
- dzil authordeps --missing | cpanm --quiet --notest
- dzil listdeps --missing | cpanm --quiet --notest
script:
- ssh-keygen -t rsa -f ~/.ssh/id_rsa -N "" -q
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
- ssh-keyscan -t rsa localhost >> ~/.ssh/known_hosts
- sudo sed -i 's,ChallengeResponseAuthentication no,ChallengeResponseAuthentication yes,g' /etc/ssh/sshd_config
- sudo restart ssh
- dzil cover -ignore_re ^deps -ignore_re CORE -ignore_re ^const -ignore_re curl -test -report coveralls
notifications:
email:
recipients: