forked from wtsi-npg/npg_tracking
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (42 loc) · 1 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
sudo: required
addons:
apt:
packages:
- libgd-dev
language: perl
dist:
- bionic
perl:
- "5.26-shrplib"
services:
- mysql
env:
global:
- secure: "QfmTURdOMius663oUxecwg2cWo1Tk5KmYgpIWFISfHNjICIXyOnhmbftl2d0g3ANqDqgZxhZcIESszPRh44unYKZUahb2vMi4YWh6D5MqnwzesC4qwEhbwkyFy1/L7Zh5T5IZ8WKT/NAuG2wAC8hLcfBNUplVHXX0FCeFq2/nvg="
- TEST_AUTHOR=1 TZ=Europe/London
before_install:
- ./.travis/before_install_mysql57.sh
- cpanm --quiet --notest Alien::Tidyp
- ./.travis/before_install.sh
- cpanm --installdeps --notest .
before_script:
- mysql -e 'create database npgt;'
after_success:
- ./Build dist
- export DIST_FILE=$(ls npg-tracking-*.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.26-shrplib
tags: true
all_branches: true