-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
66 lines (53 loc) · 1.83 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
language: d
sudo: false
d:
- dmd-2.066.1
- dmd-2.067.1
- dmd-2.068.2
- dmd-2.069.1
- dmd-2.070.0
- ldc-0.15.1 # frontend 2.066.1
- ldc-0.16.1 # frontend 2.067.1
- gdc-4.9.2 # frontend 2.066.1
env:
- DMD_VERSION_FOR_EXTENDED_TESTS=2.069.1
addons:
apt:
packages:
- python-h5py
install:
# Get MPICH 3.1
- wget -O mpich-3.1.tar.bz2 https://www.dropbox.com/s/3k0i6xrop33y9dz/mpich-3.1.tar.bz2?dl=1
- tar -xf mpich-3.1.tar.bz2
- export PATH=$PWD/mpich-3.1/bin:$PATH
- export LD_LIBRARY_PATH=$PWD/mpich-3.1/lib:$LD_LIBRARY_PATH
- export LIBRARY_PATH=$PWD/mpich-3.1/lib:$LIBRARY_PATH
# Check MPICH version
- mpichversion
# Get HDF5 1.8.13 for MPICH 3.1
- wget -O hdf5-1.8.13-mpich-3.1.tar.bz2 https://www.dropbox.com/s/h50k3yu4om9hnz4/hdf5-1.8.13-mpich-3.1.tar.bz2?dl=1
- tar -xf hdf5-1.8.13-mpich-3.1.tar.bz2
- export PATH=$PWD/hdf5-1.8.13-mpich-3.1/bin:$PATH
- export LD_LIBRARY_PATH=$PWD/hdf5-1.8.13-mpich-3.1/lib:$LD_LIBRARY_PATH
- export LIBRARY_PATH=$PWD/hdf5-1.8.13-mpich-3.1/lib:$LIBRARY_PATH
# Check HDF5 version
- h5dump -V
# Doveralls; coveralls.io for D
- dub fetch doveralls
- dub build --compiler ${DC} doveralls
# Check h5py installation
- ./tests/runnable/dlbct/mplhelper.py -V
script:
# Run tests - split up the various testing sections to get timing for them separately
- ./tests/travis-ci/build-configurations.sh ${DC}
- ./tests/travis-ci/build-documentation.sh ${DC} ${DMD_VERSION_FOR_EXTENDED_TESTS}
- ./tests/travis-ci/doveralls-coverage.sh ${DC} ${DMD_VERSION_FOR_EXTENDED_TESTS}
- ./tests/travis-ci/runnable-tests.sh ${DC} ${DMD_VERSION_FOR_EXTENDED_TESTS}
matrix:
allow_failures:
- d: ldc-0.16.1 # allow failure until dub has been updated to a version that doesn't send wrong flags to ldc2
branches:
only:
- master
notifications:
email: true