forked from atoms-ufrj/EmDee
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
49 lines (39 loc) · 940 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
43
44
45
46
47
48
language: cpp
notifications:
email: false
sudo: false
matrix:
include:
- os: linux
compiler: gcc-6
addons: &gfortran5
apt:
sources: ubuntu-toolchain-r-test
packages:
- gfortran-5
- gcc-5
env: VERSION=5 DBG=0 COVERAGE=0
- os: linux
compiler: gcc-5
addons: *gfortran5
env: VERSION=5 DBG=1 COVERAGE=1
# - os: linux
# compiler: gcc-6
# addons: &gfortran6
# apt:
# sources: ubuntu-toolchain-r-test
# packages:
# - gfortran-6
# - gcc-6
# env: VERSION=6 DBG=0 COVERAGE=0
# - os: linux
# compiler: gcc-6
# addons: *gfortran6
# env: VERSION=6 DBG=1 COVERAGE=1
script:
- make -j 2 CC=gcc-$VERSION FORT=gfortran-$VERSION DEBUG=$DBG test
after_success:
- |
if [[ $COVERAGE == "1" ]]; then
bash <(curl -s https://codecov.io/bash) -x gcov-$VERSION
fi