forked from jacquesg/p5-Git-Raw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (40 loc) · 1.28 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
language: perl
os:
- linux
perl:
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
env:
- RELEASE_TESTING=1 NETWORK_TESTING=1 AUTOMATED_TESTING=1
cache:
- apt
- ccache
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: