forked from 1100110/OpenMPI
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
48 lines (41 loc) · 738 Bytes
/
.travis.yml
File metadata and controls
48 lines (41 loc) · 738 Bytes
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
sudo: false
dist: bionic
os:
- linux
- osx
language: d
d:
- dmd-2.091.0
- dmd-2.090.1
- ldc-1.20.1
- ldc-1.19.0
- gdc
- dmd-beta
- ldc-beta
- dmd
- ldc
matrix:
allow_failures:
- os: osx
d: gdc
- d: dmd-beta
- d: ldc-beta
addons:
apt:
packages:
- libopenmpi-dev
- openmpi-bin
- hwloc
install:
- if [ $TRAVIS_OS_NAME == osx ];
then
brew update;
brew install openmpi;
fi
script:
- dub build :configure --compiler=${DC}
- dub build :splice --compiler=${DC}
- gen/setup.sh
- dub test --compiler=${DC}
- cd examples
- for ex in $(ls -d *); do cd $ex; dub build --build=unittest --compiler=${DC}; mpirun -c 3 $(echo $ex | tr '[:upper:]' '[:lower:]'); cd ../; done