forked from htcondor/htcondor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
94 lines (85 loc) · 3.63 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: c
sudo: true
dist: xenial
matrix:
include:
- os: osx
env: UW_BUILD=ON PROPER=OFF VOMS=ON GLOBUS=ON SCITOKENS=OFF
- os: osx
env: UW_BUILD=OFF PROPER=ON VOMS=OFF GLOBUS=OFF SCITOKENS=OFF
- os: linux
env: UW_BUILD=OFF PROPER=ON VOMS=ON GLOBUS=ON SCITOKENS=OFF
- os: linux
env: UW_BUILD=ON PROPER=OFF VOMS=ON GLOBUS=ON SCITOKENS=ON
- os: linux
env: UW_BUILD=ON PROPER=OFF VOMS=ON GLOBUS=ON DOCKER_IMAGE=centos:centos7 SCITOKENS=ON
- os: linux
env: UW_BUILD=ON PROPER=OFF VOMS=ON GLOBUS=ON DOCKER_IMAGE=fedora:29 SCITOKENS=ON
- os: linux
env: UW_BUILD=ON PROPER=OFF VOMS=ON GLOBUS=ON DOCKER_IMAGE=fedora:30 SCITOKENS=ON
cache:
directories:
- bld_external/blahp-1.16.5.1-p26
- bld_external/boinc-client_release-7.14-7.14.1
- bld_external/boost-1.66.0-p1
- bld_external/canl-c-2.1.6
- bld_external/drmaa-1.6.2-p1
- bld_external/glibc-2.17-157-x86_64
- bld_external/glite-ce-cream-client-api-c-1.15.4-p1
- bld_external/glite-ce-wsdl-1.15.1
- bld_external/glite-lbjp-common-gsoap-plugin-3.2.12
- bld_external/glite-lbjp-common-gss-3.2.16
- bld_external/globus-6.0-p2
- bld_external/gridsite-2.2.6
- bld_external/gsoap_2.7.16-p1
- bld_external/log4cpp-1.0-3
- bld_external/libcgroup-0.41
- bld_external/munge-0.5.13
- bld_external/unicoregahp-1.2.0
- bld_external/voms-2.1.0-rc0
- bld_external/zlib-1.2.3
- bld_external_rhel/blahp-1.16.5.1-p26
- bld_external_rhel/boinc-client_release-7.14-7.14.1
- bld_external_rhel/boost-1.66.0-p1
- bld_external_rhel/canl-c-2.1.6
- bld_external_rhel/drmaa-1.6.2-p1
- bld_external_rhel/glibc-2.17-157-x86_64
- bld_external_rhel/glite-ce-cream-client-api-c-1.15.4-p1
- bld_external_rhel/glite-ce-wsdl-1.15.1
- bld_external_rhel/glite-lbjp-common-gsoap-plugin-3.2.12
- bld_external_rhel/glite-lbjp-common-gss-3.2.16
- bld_external_rhel/globus-6.0-p2
- bld_external_rhel/gridsite-2.2.6
- bld_external_rhel/gsoap_2.7.16-p1
- bld_external_rhel/log4cpp-1.0-3
- bld_external_rhel/libcgroup-0.41
- bld_external_rhel/munge-0.5.13
- bld_external_rhel/unicoregahp-1.2.0
- bld_external_rhel/voms-2.1.0-rc0
- bld_external_rhel/zlib-1.2.3
services:
- docker
before_install:
- |
if [[ -z $DOCKER_IMAGE && $TRAVIS_OS_NAME != osx ]]; then
sudo apt-get install -y --no-install-recommends \
chrpath cmake default-jdk gfortran globus-core help2man \
libboost-filesystem-dev libboost-program-options-dev \
libboost-python-dev libboost-regex-dev libboost-system-dev \
libboost-test-dev libboost-thread-dev libcgroup-dev \
libcurl4-openssl-dev libglobus-common-dev libglobus-ftp-client-dev \
libglobus-gass-server-ez-dev libglobus-gram-client-dev \
libglobus-gram-protocol-dev libglobus-gss-assist-dev libmunge-dev \
libpq-dev libvirt-dev libxml2-dev po-debconf \
libc-ares-dev voms-dev libtool-bin uuid-dev
fi
- sudo mkdir -p /etc/default && sudo touch /etc/default/docker
- echo 'DOCKER_OPTS="-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock -s devicemapper"' | sudo tee /etc/default/docker > /dev/null
- |
if [[ ! -z $DOCKER_IMAGE ]]; then
sudo service docker restart
sleep 5
sudo docker pull $DOCKER_IMAGE
fi
script:
- bash -x build/travis/travis_build.sh