-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
43 lines (37 loc) · 880 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
sudo: required
cache: apt
language: cpp
matrix:
include:
- os: linux
dist: trusty
env: CXX_COMPILER=g++-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- pandoc
- mpich
- libmpich-dev
- os: linux
dist: trusty
env: CXX_COMPILER=g++-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- pandoc
- os: osx
before_install:
- if [ -n "${C_COMPILER}" ]; then export CC="${C_COMPILER}"; fi
- if [ -n "${CXX_COMPILER}" ]; then export CXX="${CXX_COMPILER}"; fi
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install mpich ; fi
script:
- ./install.sh
- python tests/run_unittests.py
- python tests/run_generax_tests.py