Skip to content
Snippets Groups Projects
  1. Dec 25, 2019
    • Massimiliano Culpo's avatar
      Migrate build tests from Travis to Github Actions (#13967) · 2aa8132a
      Massimiliano Culpo authored
      This PR moves build smoke tests from TravisCI and migrates them to Github Actions. The result is that build tests are performed in parallel with unit tests and they don't hog additional resources on Travis. The workflow will not run if a PR only changes packages in the built-in repository, but will always run on pushes to develop or master.
      
      * Removed build tests from Travis and passed them to Github Actions
      * Store ~/.ccache in Github Actions cache
      * Add filters on paths and make sure this workflow don't run
      * Use paths-ignore and exclude only files in the built-in repo
      * Added a badge to README.md
      2aa8132a
  2. Dec 24, 2019
    • Massimiliano Culpo's avatar
      Travis exits at the first failing test, pin codecov at v4.5.4 (#14179) · 8616a264
      Massimiliano Culpo authored
      Before this commit we used to run the entire unit test suite
      in the presence of a failure. Since we currently rely a lot
      on the state of the filesystem etc. the end report was most
      of the time showing spurious failures that were a consequence
      of the first failing test.
      
      This PR makes unit tests exit at the first failing test
      
      Also, pin codecov at v4.5.4 (last one supporting Python 2.6)
      Unverified
      8616a264
  3. Dec 16, 2019
    • Massimiliano Culpo's avatar
      Travis exits at the first failing test, pin codecov at v4.5.4 (#14179) · f8049182
      Massimiliano Culpo authored
      Before this commit we used to run the entire unit test suite
      in the presence of a failure. Since we currently rely a lot
      on the state of the filesystem etc. the end report was most
      of the time showing spurious failures that were a consequence
      of the first failing test.
      
      This PR makes unit tests exit at the first failing test
      
      Also, pin codecov at v4.5.4 (last one supporting Python 2.6)
      Unverified
      f8049182
  4. Nov 26, 2019
    • Axel Huebl's avatar
      Package Index: Build in Dockerhub (#13810) · 7a81c37b
      Axel Huebl authored
      * Package Index: Build in Dockerhub
      
      Prepare to build the package index service, packages.spack.io,
      on Dockerhub.
      
      Local build (in spack root dir):
      ```
      docker build -t spack/packages.spack.io:latest -f share/spack/docker/package-index/Dockerfile .
      ```
      
      Local test:
      ```
      docker run -p 8080:80 spack/packages.spack.io:latest
      ```
      
      * Travis-CI: Remove Docker
      
      Remove leftover docker stages from Travis-CI.
      
      * Simplify Split Call
      Unverified
      7a81c37b
  5. Nov 22, 2019
  6. Nov 01, 2019
  7. Oct 31, 2019
  8. Oct 23, 2019
  9. Oct 21, 2019
    • Massimiliano Culpo's avatar
      Bootstrap environment modules optimizing for generic architectures (#13105) · 3d77ecd9
      Massimiliano Culpo authored
      fixes #13073
      
      Since #3206 was merged bootstrapping environment-modules was using the architecture of the current host or the best match supported by the default compiler. The former case is an issue since shell integration was looking for a spec targeted at the host microarchitecture.
      
      1. Bootstrap an env modules targeted at generic architectures
      2. Look for generic targets in shell integration scripts
      3. Add a new entry in Travis to test shell integration
      3d77ecd9
  10. Oct 08, 2019
  11. Aug 06, 2019
  12. Jul 06, 2019
  13. Jul 05, 2019
    • Todd Gamblin's avatar
      tests: add tests for setup-env.sh · 47e9f7aa
      Todd Gamblin authored
      - tests use a shell-script harness and test all Spack commands that
        require special shell support.
      
      - tests work in bash, zsh, and dash
      
      - run setup-env.sh tests on macos and linux builds.
        - we run them on macos and linux
      47e9f7aa
  14. Jun 19, 2019
  15. May 11, 2019
  16. May 10, 2019
    • Todd Gamblin's avatar
      enable coverage for python 2.6 unit tests · 54920d10
      Todd Gamblin authored
      54920d10
    • Todd Gamblin's avatar
      coverage: only run coverage for subset of unit tests · 3903658b
      Todd Gamblin authored
      - Codecov cannot handle as many coverage reports as we are generating
      
      - as a result, our PR coverage pages have been broken for a while, and
        it's hard to tell people where to enhance their testing in PR reviews.
      
      - Scale back to only running coverage for 3.7 and 2.7 unit tests
      
      - This is *probably* better.  We run the build tests for good measure,
        but we do not need to evaluate them for coverage.  The coverage reports
        are about unit tests.
      3903658b
  17. Apr 30, 2019
  18. Apr 11, 2019
  19. Feb 28, 2019
    • Massimiliano Culpo's avatar
      Added a sub-command to show if packages are relocatable (#9199) · e3af8ed4
      Massimiliano Culpo authored
      * Added the `spack buildcache preview` sub-command
      
      This is similar to `spack spec -I` but highlights which nodes in a DAG
      are relocatable and which are not.
      
      spec.tree has been generalized a little to accept a status function,
      instead of always showing the install status
      
      The current implementation works only for ELF, and needs to be
      generalized to other platforms.
      
      * Added a test to check if an executable is relocatable or not
      
      This test requires a few commands to be present in the environment.
      Currently it will run only under python 3.7 (which uses Xenial instead
      of Trusty).
      
      * Added tests for the 'buildcache preview' command.
      
      * Fixed codebase after rebase
      
      * Fixed the list of apt addons for Python 3.7 in travis.yaml
      
      * Only check ELF executables and shared libraries. Skip checking virtual or external packages. (#229)
      
      * Fixed flake8 issues
      
      * Add handling for macOS mach binaries (#231)
      e3af8ed4
  20. Dec 30, 2018
  21. Dec 29, 2018
  22. Dec 24, 2018
  23. Dec 20, 2018
  24. Dec 15, 2018
  25. Dec 14, 2018
  26. Nov 09, 2018
  27. Oct 27, 2018
  28. Oct 26, 2018
    • Omar Padron's avatar
      docker: unite Dockerfiles; auto-deploy images to DockerHub (#9329) · aa1c814c
      Omar Padron authored
      * Unite Dockerfiles - add build/run/push scripts
      * update docker documentation
      * update .travis.yml
      * switch to using a preprocessor on Dockerfiles
      * skip building docker images on pull requests
      * update files with copyright info
      * tweak when travis builds for docker files are done
      aa1c814c
  29. Sep 24, 2018
  30. Sep 03, 2018
  31. Aug 24, 2018
    • Todd Gamblin's avatar
      Remove Python 3.3 from testing. · 82820efe
      Todd Gamblin authored
      - Support for Python 3.3 isn't really needed, as nothing uses it as the
        default system Python, and nearly everyone will have a newer Python 3
        version installed.
      82820efe
  32. Aug 20, 2018
    • Adam J. Stewart's avatar
      Even better Makefile target parsing (#8819) · 2e8a820a
      Adam J. Stewart authored
      #8223 replaced regex-based makefile target parsing with an invocation of
      "make -q". #8818 discovered that "make -q" can result in an error for some
      packages.
      
      Also, the "make -q" strategy relied on interpreting the error code, which only
      worked for GNU Make and not BSD Make (which was deemed acceptable at
      the time). As an added bonus, this implementation ignores the exit code and
      instead parses STDERR for any indications that the target does not exist; this
      works for both GNU Make and BSD Make.
      
      #8223 also updated ninja target detection to use "ninja -t targets". This does
      not change that behavior but makes it more-explicit with "ninja -t targets all"
      
      This also adds tests for detection of "make" and "ninja" targets.
      2e8a820a
  33. Aug 05, 2018
Loading