Skip to content

Commit 912036b

Browse files
committed
Experiment to compact .travis.yml build matrix
1 parent f925cb1 commit 912036b

File tree

1 file changed

+23
-26
lines changed

1 file changed

+23
-26
lines changed

.travis.yml

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
language: generic
22

3+
os: linux
4+
sudo: false
5+
cache:
6+
apt: false
7+
directories:
8+
- "$CACHE"
9+
addons:
10+
apt:
11+
sources:
12+
- ubuntu-toolchain-r-test
13+
- george-edison55-precise-backports
14+
packages:
15+
- gcc-6
16+
- gfortran-6
17+
- g++-6
18+
- binutils
19+
- cmake-data
20+
- cmake
21+
322
env:
423
global:
524
- CACHE="$HOME/.local"
@@ -12,6 +31,9 @@ env:
1231
- FC=gfortran-6
1332
- CC=gcc-6
1433
- CXX=g++-6
34+
matrix:
35+
- BUILD_TYPE="Release"
36+
- BUILD_TYPE="CodeCoverage"
1537

1638
matrix:
1739
include:
@@ -27,33 +49,8 @@ matrix:
2749
env:
2850
- BUILD_TYPE="InstallScript"
2951
OSX_PACKAGES="gcc@6"
30-
- &ubuntu
31-
os: linux
52+
- os: linux
3253
sudo: false
33-
env:
34-
- BUILD_TYPE="CodeCoverage"
35-
cache:
36-
apt: false
37-
directories:
38-
- "$CACHE"
39-
addons:
40-
apt:
41-
sources:
42-
- ubuntu-toolchain-r-test
43-
- george-edison55-precise-backports
44-
packages:
45-
- gcc-6
46-
- gfortran-6
47-
- g++-6
48-
- binutils
49-
- cmake-data
50-
- cmake
51-
-
52-
<<: *ubuntu
53-
env:
54-
- BUILD_TYPE="Release"
55-
-
56-
<<: *ubuntu
5754
env:
5855
- BUILD_TYPE="InstallScript"
5956
cache: false

0 commit comments

Comments
 (0)