forked from wtsi-npg/npg_qc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (43 loc) · 1.42 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
48
49
50
51
52
53
# This file was adapted from work by Keith James (keithj). The original source
# can be found as part of the wtsi-npg/data_handling project here:
#
# https://github.com/wtsi-npg/data_handling
#
# iRODS setup added by Iain Bancarz (ib5), adapted from baton:
# https://github.com/wtsi-npg/baton
sudo: required
language: perl
perl:
- "5.16"
- "5.22-shrplib"
dist:
- precise
addons:
postgresql: "9.3"
env:
global:
- secure: cDfB188ECmloGfScZQezqwiFef7l+gXgn2RiTOxINriy9wYS6RmZxuZBHGuR36u7QV3QEJtMdihyQ+XBN2eQPf5jULQXV15t7gArXEVPzzF8i+f8MTgVHugU3TqmPLQkY94wBBbpzvRD9xCAC/uNiQcLLwuD2SjPfTXkqgqqtd0=
- PGVERSION="9.3"
- DISPOSABLE_IRODS_VERSION="1.2"
- JANSSON_VERSION="2.7"
- BATON_VERSION="1.0.0"
- TRAVIS_NODE_VERSION="4.5.0"
- RENCI_URL=ftp://ftp.renci.org
- WTSI_NPG_GITHUB_URL=https://github.com/wtsi-npg
- IRODS_VERSION=4.1.10 PG_PLUGIN_VERSION=1.10 PLATFORM=ubuntu12
before_install:
# workaround for iRODS buffer overflow
# see https://github.com/travis-ci/travis-ci/issues/5227
- sudo hostname "$(hostname | cut -c1-63)"
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
- sudo mv /tmp/hosts /etc/hosts
- ./.travis/before_install_mysql57.sh
- ./.travis/before_install.sh
install:
- ./.travis/install.sh
script:
- export PATH=$IRODS_RIP_DIR/iRODS/clients/icommands/bin:$PATH
- ienv
- ils
- ilsresc -l
- ./.travis/script.sh