forked from readdy/readdy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (44 loc) · 895 Bytes
/
.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
dist: trusty
sudo: required
language: cpp
compiler:
- gcc
- clang
os:
- linux
- osx
osx_image: xcode8.3
addons:
apt:
packages:
- doxygen
- graphviz
env:
global:
- PATH=$HOME/_cmake/bin:$HOME/miniconda/bin:$PATH
- MACOSX_DEPLOYMENT_TARGET=10.7
- MAKEFLAGS="-j2 ${MAKEFLAGS}"
matrix:
- python=3.6 CONDY_PY=36
matrix:
exclude:
- os: linux
compiler: clang
- os: osx
compiler: gcc
cache:
apt: true
ccache: true
before_install:
- tools/ci/travis/setup_travis.sh
- tools/ci/travis/install_miniconda.sh
install:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export BUILD_TYPE="RelWithDebInfo"; else export BUILD_TYPE="Release"; fi
script:
- conda-build --version
- conda build -c defaults -c conda-forge -q tools/conda-recipe
after_success:
- tools/ci/travis/upload_conda_package.sh
- tools/ci/travis/make_docs.sh
notifications:
email: false