summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPatrick Gartung <gartung@fnal.gov>2020-07-08 15:05:58 -0500
committerGitHub <noreply@github.com>2020-07-08 15:05:58 -0500
commit8c4117367803fac989582550fc546323e3586862 (patch)
tree1e556710f5bf0f8a7cbd720a7f2e125c95960c60 /.travis.yml
parent0bed621d0c373107dca3ff97ce3b81f29bb35a64 (diff)
downloadspack-8c4117367803fac989582550fc546323e3586862.tar.gz
spack-8c4117367803fac989582550fc546323e3586862.tar.bz2
spack-8c4117367803fac989582550fc546323e3586862.tar.xz
spack-8c4117367803fac989582550fc546323e3586862.zip
Buildcache: bindist test without invoking spack compiler wrappers. (#15687)
* Buildcache: * Try mocking an install of quux, corge and garply using prebuilt binaries * Put patchelf install after ccache restore * Add script to install patchelf from source so it can be used on Ubuntu:Trusty which does not have a patchelf pat package. The script will skip building on macOS * Remove mirror at end of bindist test * Add patchelf to Ubuntu build env * Revert mock patchelf package to allow other tests to run. * Remove depends_on('patchelf', type='build') relying instead on * Test fixture to ensure patchelf is available. * Call g++ command to build libraries directly during test build * Flake8 * Install patchelf in before_install stage using apt unless on Trusty where a build is done. * Add some symbolic links between packages * Flake8 * Flake8: * Update mock packages to write their own source files * Create the stage because spec search does not create it any longer * updates after change of list command arguments * cleanup after merge * flake8
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index e4e6383dbd..808e79bbff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,14 @@ addons:
- zsh
- fish
+before_install:
+ - if [[ "$TRAVIS_DIST" == "trusty" ]]; then
+ share/spack/qa/install_patchelf.sh;
+ else
+ sudo apt-get update;
+ sudo apt-get -y install patchelf;
+ fi
+
# Install various dependencies
install:
- pip install --upgrade pip