forked from wtsi-npg/npg_qc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (49 loc) · 1.62 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
54
55
56
57
58
59
# 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.22-shrplib"
dist:
- precise
addons:
postgresql: "9.3"
apt:
update: true
env:
global:
- secure: cDfB188ECmloGfScZQezqwiFef7l+gXgn2RiTOxINriy9wYS6RmZxuZBHGuR36u7QV3QEJtMdihyQ+XBN2eQPf5jULQXV15t7gArXEVPzzF8i+f8MTgVHugU3TqmPLQkY94wBBbpzvRD9xCAC/uNiQcLLwuD2SjPfTXkqgqqtd0=
- PGVERSION="9.3"
- DISPOSABLE_IRODS_VERSION="1.3"
- JANSSON_VERSION="2.7"
- BATON_VERSION="1.0.0"
- TRAVIS_NODE_VERSION="6.12.2"
- TRAVIS_NPM_VERSION="4.5.0"
- TRAVIS_YARN_VERSION="1.3.2"
- TRAVIS_PYTHON_VERSION="2.7"
- WTSI_NPG_GITHUB_URL=https://github.com/wtsi-npg
- IRODS_VERSION=4.1.10 PG_PLUGIN_VERSION=1.10 PLATFORM=ubuntu12
- CONDA_CHANNEL=https://dnap.cog.sanger.ac.uk/npg/conda/test/Ubuntu/12.04/
- CONDA_TEST_ENV=test-environment
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_conda.sh
- ./.travis/before_install.sh
install:
- ./.travis/install.sh
script:
- ienv
- ils
- ilsresc -l
- export PATH="$HOME/miniconda/bin:$PATH"
- source activate "$CONDA_TEST_ENV"
- ./.travis/script.sh