-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
78 lines (75 loc) · 2.23 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
language: cpp
sudo: required
# Do not build branches of the form "pr/*". By prefixing pull requests coming
# from branches inside the repository with pr/, this avoids building both the
# branch push _and_ the pull request.
branches:
except: "/pr\\/.*/"
env:
global:
# twine password.
- secure: "TTYUO/dbT7fN2Dt3A9eaSI7/kvyySk6RGlh7LInnfswqdBkiPQKh593rR2wHXAqgY7f8CyHUjPoKiml3WLuK6n5jKyzE6zHaq8BjHYmlbSa82+BGUxcyQAI3eJrXCJDIVsV9EITUyWsyVYo0XRLnhOoIbiI9quClMmzBU6ZNWks="
matrix:
include:
- env: PYKEP_BUILD="DebugGCC"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-gold
- env: PYKEP_BUILD="ReleaseGCC"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-gold
- env: PYKEP_BUILD="CoverageGCC"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packa1ges:
- binutils-gold
- env: PYKEP_BUILD="Python37"
dist: bionic
compiler: gcc
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
# Activate if matplotlib is available in py38 via the PyPi
- env: PYKEP_BUILD="manylinux64Py38" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
sudo: required
services:
- docker
- env: PYKEP_BUILD="manylinux64Py37" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
sudo: required
services:
- docker
- env: PYKEP_BUILD="manylinux64Py36" DOCKER_IMAGE="pagmo2/manylinux2010_x86_64_with_deps"
sudo: required
services:
- docker
script:
- mkdir build
- cd build
# NOTE: currently, travis does not stop automatically if one of these
# 2 scripts returns an error code. Thus, we run them together as a single
# command, so that if install_deps.sh fails the whole build fails immediately
# rather than executing install_travis.sh as well. See
# https://github.com/travis-ci/travis-ci/issues/1066
- ../tools/install_deps.sh && ../tools/install_travis.sh
notifications:
email: false