-
Notifications
You must be signed in to change notification settings - Fork 26
/
old-travis.remove
238 lines (225 loc) · 7.36 KB
/
old-travis.remove
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
# Configuration for Travis CI Continuous Integration Service
#
# Build status: https://travis-ci.org/Illumina/interop
#
# Tested configurations:
#
# Linux Clang 3.7
# - Release/Debug
# Linux GCC
# - Release/Debug
# - 4.6/4.9
# OSX Clang
# - Release/Debug
#
# No support for 32-bit Linux
#
# TODO: For Python wheels, support: https://github.com/pypa/manylinux
## TODO: Create individual builds for each language
language: cpp
env:
global:
- HOMEBREW_NO_INSTALL_CLEANUP: 1
- secure: "u1PKXB6w4ca3qONKKdMNS7NvPTGyXa9FuSBvM4IC+Yak0k4P8pghA3iwrtzwCkXzT+kijcVpbOvDJjhD1Kfb0fucpYKEbR+QTTBpqXjwWZx6WHSH/ZoPfc40OiGJ5zbdyRZrI2GKdrgeZbDN2FOE7Vvmu/RgxCdSkpeBmRG2uTqgmVA+Gy+BJBtRgwKdmvChaqIQ7Zwbrw26JA1g+iKDNKSw3SyKbRrkCv2i5u2YrVS3XhbCCCJCt1HmsMZfjFhvx4ddnfQ9At/Z1bx58bb607lhKbWT1AR+NIXtbYz7sGGPxLuUply9KVDzE+3yb72zVIa3R8Nl/cBtS3S2rDyDvaLy3zTpF25jHNxEx956yI8n25lA2qtwqAs7sw+neSvivlEQot0GVPy2r0tsezNFt6GSJG92KYT4TsDVZr8EXQr6n0ocDmMQU/tVqxeG6VelqpjJ257gT1ywU7mtod43ye/7FO+5Is2LbGVq5nWHW203joKo2mLyx2p3/l7EW2o6kDhu+ttiaR6YMYMpnpe+IGWMRhKOxtVH4EJuOKB3G6UfSZmXauwXZdxqN03wqvZnXhDp+cr1p6Wj3L5LyENpw/dS38fRTFBJzNYUTtYatiNVUptI9RGSdkcgvgx3e43XIumgvk7/Tea7DjVEMIXMSj/N1c7P8eJZbiXQmmqa65w="
jobs:
fast_finish: true
include:
- os: osx
osx_image: xcode9.4
compiler: clang
stage: s1
workspaces:
create:
name: brew_cache
paths:
# https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew/
# used in OSX custom build script dealing with local bottle caching
- $HOME/local_bottle_metadata
cache:
directories:
# `cache: ccache: true` has no effect if `language:` is not `c` or `cpp`
- $HOME/.ccache
# https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew/
# used in OSX custom build script dealing with local bottle caching
- $HOME/local_bottle_metadata
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release Disable"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release DotNetStandard"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release 2.7.17"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release 3.5.9"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release 3.6.10"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release 3.7.7"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release 3.8.2"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release 3.9.0"
- os: osx
osx_image: xcode9.4
compiler: clang
workspaces:
use: brew_cache
env: DEPLOY_BUILD=true SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Release 3.10.0"
- os: linux
compiler: clang
env: SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis ON Debug Disable"
- os: linux
compiler: gcc
env: SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis ON Debug Disable"
- os: linux
compiler: gcc
services:
- docker
env: DEPLOY_BUILD=true DEPLOY_DOCS=true DOCKER_IMAGE=ezralanglois/interop SCRIPT="docker run --rm -v $PWD:/io ezralanglois/interop sh /io/tools/package.sh /io /io/dist travis OFF Release"
- os: linux
compiler: gcc
services:
- docker
env: DEPLOY_BUILD=true DEPLOY_DOCS=true DOCKER_IMAGE=ezralanglois/interop_centos7 SCRIPT="docker run --rm -v $PWD:/io ezralanglois/interop_centos7 sh /io/tools/package.sh /io /io/dist travis OFF Release cp310-cp310"
- os: osx
osx_image: xcode9.4
workspaces:
use: brew_cache
compiler: clang
env: SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis OFF Debug Disable"
- os: linux
compiler: gcc
addons: &1
apt:
sources:
- george-edison55-precise-backports
- ubuntu-toolchain-r-test
- sourceline: 'ppa:teward/swig3.0'
packages:
- g++-5
- libicu-dev
- swig3.0
- doxygen
- graphviz
- mono-complete
- libgtest-dev
- python-numpy
env: COMPILER_VERSION=-5 SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis ON Debug Disable"
- os: linux
compiler: clang
addons: &2
apt:
sources:
- george-edison55-precise-backports
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
- sourceline: 'ppa:teward/swig3.0'
packages:
- g++-4.9
- clang-3.7
- libicu-dev
- swig3.0
- doxygen
- graphviz
- mono-complete
- libgtest-dev
- python-numpy
env: COMPILER_VERSION=-3.7 SCRIPT="bash ./tools/package.sh $PWD $PWD/dist travis ON Debug Disable"
addons:
apt:
sources:
- george-edison55-precise-backports
- sourceline: 'ppa:teward/swig3.0'
packages:
- libicu-dev
- swig3.0
- doxygen
- graphviz
- mono-complete
- libgtest-dev
- python-numpy
install:
- source tools/prereqs/travis-${TRAVIS_OS_NAME}-install.sh
- if [ ! -z $DOCKER_IMAGE ]; then docker pull $DOCKER_IMAGE ; fi
before_script:
- export CC="${COMPILER_HOME}${CC}${COMPILER_VERSION}"
- export CXX="${COMPILER_HOME}${CXX}${COMPILER_VERSION}"
- cmake -version
- which $CC
- which $CXX
script:
- $SCRIPT
#white list broke the tag push deployment
branches:
only:
- master
- /v\d\.\d\.\d/
notifications:
email: false
before_deploy:
- export PATH=/opt/pyenv:/opt/pyenv/shims:$PATH
- if [ "$TRAVIS_OS_NAME != "osx ] ; then env "PATH=$PATH" pyenv install 3.5.4 -s || true; fi
- if [ "$TRAVIS_OS_NAME != "osx ] ; then env "PATH=$PATH" pyenv global 3.5.4; fi
- if [ "$TRAVIS_OS_NAME != "osx ] ; then env "PATH=$PATH" pip install twine; fi
- if [ "$TRAVIS_TAG" != "" ] && [ "$DEPLOY_BUILD" == "true" ] && [ ! -z $(compgen -G $PWD/dist/*.whl) ] ; then twine upload --skip-existing $PWD/dist/*.whl; fi
deploy:
- provider: releases
skip_cleanup: true
api_key: $GITHUB_TOKEN
file_glob: true
file: $PWD/dist/*.*
on:
repo: Illumina/interop
branch: master
tags: true
condition:
- "$DEPLOY_BUILD == true"
- provider: pages
skip_cleanup: true
github-token: $GITHUB_TOKEN
local_dir: $PWD/dist/html
on:
repo: Illumina/interop
branch: master
tags: true
condition:
- "$DEPLOY_DOCS == true"
cache:
directories:
# `cache: ccache: true` has no effect if `language:` is not `c` or `cpp`
- $HOME/.ccache
- $HOME/NUnit-2.6.4
- $HOME/cmake
stages:
- s1
- final