summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-05-09 19:41:50 +0200
committerGitHub <noreply@github.com>2020-05-09 10:41:50 -0700
commitb06bc31029e13c508814857812415df7b5ea6ff4 (patch)
tree9dfc07df7877c91fb0d312fa85225996661e4040 /.travis.yml
parent8671ac6a1aa4cb40e31b8b1e08f0986ab23df15c (diff)
downloadspack-b06bc31029e13c508814857812415df7b5ea6ff4.tar.gz
spack-b06bc31029e13c508814857812415df7b5ea6ff4.tar.bz2
spack-b06bc31029e13c508814857812415df7b5ea6ff4.tar.xz
spack-b06bc31029e13c508814857812415df7b5ea6ff4.zip
Increase coverage of spack.relocate (#16475)
- add docstrings and make parameter names consistent in `relocate.py` - Make `replace_prefix_*` and other functions private (as they are implementation details) - remove unused function _replace_prefix_nullterm() - Add unit tests for `relocate.py` functions - add patchelf to Travis and use it during tests - add hello_world fixture with a compiled binary, so we can test relocation
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 227f6fc955..bc914ef512 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,6 +32,25 @@ jobs:
dist: trusty
os: linux
language: python
+ addons:
+ apt:
+ # Everything but patchelf, that is not available for trusty
+ packages:
+ - ccache
+ - cmake
+ - gfortran
+ - graphviz
+ - gnupg2
+ - kcov
+ - mercurial
+ - ninja-build
+ - perl
+ - perl-base
+ - realpath
+ - r-base
+ - r-base-core
+ - r-base-dev
+ - zsh
env: [ TEST_SUITE=unit, COVERAGE=true ]
- python: '2.7'
os: linux
@@ -84,6 +103,7 @@ addons:
- kcov
- mercurial
- ninja-build
+ - patchelf
- perl
- perl-base
- realpath