-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
23 lines (23 loc) · 1.31 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
language: perl
perl:
- '5.14'
branches:
only:
- master
before_install:
- cpanm DBD::mysql
- cpanm DateTime
- sudo apt-get update
- sudo apt-get install lvm2 libconfig-inifiles-perl debhelper dpatch asciidoc xsltproc
docbook-xsl
install: true
env:
global:
- secure: P1zcrZdJ+CqOjrQgz1cXWyhyKtGLzxKkqoqa4jERi0CnavfY3lKD8zFvO/k8gb4OhOHNO5MJPGviEOY0NU6WquYHZp31garmZzqOy8/4KcEIL2HiuMSiMY41SqDD+cMORzqWNrcgJF0L5G3vVPBXrAmAv/110kk7YMFrjaTRNwQ=
- secure: ENvT0w0JtECAxhV44cVg/rV5djF/hre3L2GgfaAbE4/hYCTeONhaccVGKDW7LzE9Kwl3IpbeBr4xqN6aDeeAFClLbMMQaN7sZ9iJvIMCr15P+cg11dFavpn1Ru49k3kmVFSlExAzCehPAt1J5uwLrWDMfSinmNIh+DPjEOpWY0U=
- secure: JJivQA1RV3LDh12ea3eSVhCqqZjU73BymlIcTThy1SInkR9Waa6gk2Cj0yBSIBu92d3et5xVHtwOQcfnxgcre7oOtESjA77S4wpEK6M94YL4eAclO+Zef0Gvqp/+vFrpMp5gD9oQkopnMug6XKZ5hnB/S9atxDchCiYTJuonZBw=
- secure: fddn+pDLCBKqCBxjFJzrry1QXYY4iYhfYLHkwlC1W+QMt401YddBgWADzLt4nWQx+6eTWPwS9lBpdKSf++2atCEP9pk1NlZ12HeInreqVUl4CWsoA4Zxz2ouuFjlmEofzX1L0CG0xmqY+2nTv4PC7go6OkRwhODW9aD5P9kpdJw=
script: make test && git clone $GIST ../keys && chmod 400 ../keys/id_rsa && mkdir
-p ~/.ssh/ && echo "StrictHostKeyChecking no" >> ~/.ssh/config && scp -q -B -o User=repo
-i ../keys/id_rsa ../mylvmbackup_0.15-1_all.deb $SCP && ssh -q -i ../keys/id_rsa $SSH 'cd repo; dpkg-scanpackages
. | gzip -9c > Packages.gz' && rm -rf ../keys