forked from wtsi-npg/ml_warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (33 loc) · 858 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
sudo: false
language: perl
perl:
- "5.22-shrplib"
dist:
- precise
env:
global:
- secure: "NroWmwo87rKc5VoqNCzySJjNiEeBl/Ryv9d/IZ4swEzxbLVmzGPJgqbw7TmhHLS7X+r3WcAVHnO3ERaxPVFSUu/yclls4IGnwoocYV/tLjF5vMCqdF0MtLF/GTPtNyv9JyzKx9fkBNlwxYgtv9c25JKfv4I1MvXdMEVRe9f4e8U="
- TEST_AUTHOR=1
- WTSI_NPG_GITHUB_URL=https://github.com/wtsi-npg
before_install:
- ./.travis/install.sh
- cpanm --installdeps --notest .
after_success:
- ./Build dist
- export DIST_FILE=$(ls ml_warehouse-*.tar.gz)
- export MD5_FILE=$DIST_FILE.md5
- md5sum $DIST_FILE > $MD5_FILE
- export SHA256_FILE=$DIST_FILE.sha256
- shasum -a 256 $DIST_FILE > $SHA256_FILE
deploy:
provider: releases
api-key: $GH_OAUTH
file:
- $DIST_FILE
- $MD5_FILE
- $SHA256_FILE
skip_cleanup: true
on:
perl: 5.22-shrplib
tags: true
all_branches: true