-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (69 loc) · 2.3 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
## Program: VMTK
## Language: Python
## Date: January 30, 2018
## Version: 1.4
##
## Copyright (c) Richard Izzo, Luca Antiga, All rights reserved.
## See LICENSE file for details.
##
## This software is distributed WITHOUT ANY WARRANTY; without even
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
## PURPOSE. See the above copyright notices for more information.
##
## Note: this code was contributed by
## Richard Izzo (Github @rlizzo)
## University at Buffalo
# Note: commit with the mesage [ci skip] or [skip ci] in order to skip building on travisci
# and appveyor.
# The language in this case has no bearing - we are going to be making use of "conda" for a
# python distribution for the scientific python stack.
language:
- cpp
# build matrix of environments to build against.
# note: for linux builds, sudo is required. This is not because we use any "sudo" commands
# instead, we use it to build a non-container image with TravisCI, which has more memory
# than a container image (if sudo was set to false). This is required because the build phase
# utilizes more memory than the container image has, causing a segfault.
matrix:
include:
- os: linux
dist: trusty
sudo: required
env:
- MATRIX_EVAL="TRPYTHON_VERSION=2.7.14"
- os: linux
dist: trusty
sudo: required
env:
- MATRIX_EVAL="TRPYTHON_VERSION=3.5.1"
- os: linux
dist: trusty
sudo: required
env:
- MATRIX_EVAL="TRPYTHON_VERSION=3.6.1"
- os: osx
osx_image: xcode9.2
compiler: clang
env:
- MATRIX_EVAL="TRPYTHON_VERSION=2.7.14"
- os: osx
osx_image: xcode9.2
compiler: clang
env:
- MATRIX_EVAL="TRPYTHON_VERSION=3.5.1"
- os: osx
osx_image: xcode9.2
compiler: clang
env:
- MATRIX_EVAL="TRPYTHON_VERSION=3.6.1"
env:
global:
- CONDA_INSTALL_LOCN="${HOME}/miniconda"
# by evaluating the environment, we are setting the TRPYTHON_VERSION variables.
before_install:
- eval "${MATRIX_EVAL}"
# Matrix is fully specified (for now) by os version
install:
- source distribution/travis/install.sh
script:
- conda build --python $TRPYTHON_VERSION --no-copy-test-source-files $TRAVIS_BUILD_DIR/distribution/