forked from rsnapshot/rsnapshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 862 Bytes
/
.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
os:
- linux
#- osx
language: perl
perl:
- "5.30"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
install:
- ./autogen.sh
- ./configure
before_script:
# Allow us to SSH passwordless to localhost
- ssh-keygen -t "rsa" -f ~/.ssh/id_rsa -N ""
- cp ~/.ssh/{id_rsa.pub,authorized_keys}
script:
- make
- make test
before_deploy:
- apt-get update -qq
- apt-get install fakeroot -y
- make tar
deploy:
provider: releases
api_key:
secure: V981ylz1rHzSd405X/QBk/ER5QUETcrLpnJBwZyV088joa2TbeHdNgQMIEhx6oLlqtJiK2To8VEk3zZ2wJwESfVp7xlm5vp0dBMpYHGUbrW13QzWdRT42gc3/CGYl4GCtcs+tIeONWehR0ubdO+TlO9L6lXes+kEXEsTTvrLS0o=
file: rsnapshot-${TRAVIS_TAG}.tar.gz
skip_cleanup: true
on:
tags: true
branch: master
condition: "TRAVIS_OS_NAME = linux"
perl: "5.30"
repo: rsnapshot/rsnapshot