File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
+ os : linux
3
+ language : cpp
2
4
3
5
env :
4
6
- DIST=precise
5
7
- DIST=trusty
6
8
- DIST=xenial
7
9
8
- before_install :
10
+ install :
9
11
- sudo apt-get update -qq
10
- - sudo apt-get install pbuilder aptitude ubuntu-dev-tools libgsl0-dev libblas-dev
11
- # Temporary hack to get pbuilder to work
12
- - sudo sed '286,289d' /usr/bin/pbuilder-dist > temp
13
- - sudo mv temp /usr/bin/pbuilder-dist
14
- - sudo chmod a+x /usr/bin/pbuilder-dist
15
- - for CHAR in $(seq 0 9) a b c d e f; do sudo mkdir -p /var/cache/pbuilder/ccache/${CHAR}; done
16
- - pbuilder-dist ${DIST} create --debootstrapopts --variant=buildd
12
+ - sudo apt-get install libgsl0-dev libblas-dev
13
+ - sudo apt-get install libboost-all-dev
14
+ - sudo apt-get install netcdf-bin libnetcdf-dev
15
+ - sudo apt-get install libgtest-dev
17
16
- sudo pip install cpp-coveralls
18
17
19
18
script :
20
- - sed -i "s:precise:${DIST}:g" debian/changelog
21
- - debuild -S -uc
22
- - pbuilder-dist ${DIST} build ../*.dsc
23
- # Rebuild so that coverage stats can be collected
24
- - sudo debuild-pbuilder -us -uc
25
-
26
- after_success : coveralls --gcov-options '\-lp'
19
+ - make test
20
+ - make
27
21
28
- os : linux
22
+ after_success :
23
+ - coveralls --gcov-options '\-lp'
29
24
30
25
# deploy:
31
26
# provider: launchpad
You can’t perform that action at this time.
0 commit comments