-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
70 lines (59 loc) · 1.15 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
dist: trusty
language: cpp
cache:
ccache: true
directories:
- dependencies
before_cache:
- ${TRAVIS_BUILD_DIR}/scripts/cleanup-cmake.sh
env:
global:
- MAKEFLAGS="-j 2"
# Create aliases for some of shared build configuration
_basic_env:
- &daily_linux
if: type != cron
os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- &linux_base
if: type != cron
os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
jobs:
# On weekdays, the backlog for waiting OS X builds is huge
fast_finish: true
allow_failures:
- os: osx
include:
- <<: *linux_base
env:
- MATRIX_EVAL="COMPILER=gcc && CC=gcc-6 && CXX=g++-6"
- USE_SWIG=true
- USE_MPI=mpich
- BUILD_TYPE=Release
branches:
except:
- gh-pages
before_install:
- eval "${MATRIX_EVAL}"
- $CXX --version
install:
- source scripts/install-ci-dependencies.sh
- source scripts/install-helics.sh
script:
- ls ${HELICS_INSTALL_PATH}/bin
- helics_broker --version
notifications:
email: false