summaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-02-10qa: allow fast finish to avoid consuming a precious OSX build on a PR that ↵Massimiliano Culpo1-0/+1
will fail (#3120)
2017-01-26Use codecov for coverage instead of coveralls (#2933)Todd Gamblin1-25/+21
* Switch from coveralls to codecov - Add .codecov.yml, simplify .travis.yml - Add codecov badge to README.md * Add tests for spack graph.
2017-01-16Add release branches to travis testing.Todd Gamblin1-0/+1
2016-12-30Run coverage for the `spack install` command as well as `spack test`.Todd Gamblin1-2/+2
- Also don't run coverage on OSX.
2016-12-30Add OSX build to .travis.yml. Clean up .travis.yml (#2689)Todd Gamblin1-3/+32
* Add OSX build to .travis.yml. Clean up .travis.yml * Add gcc/gfortran to the mac brew setup.
2016-12-29unit tests: replace nose with pytest (#2502)Massimiliano Culpo1-4/+4
* Porting: substitute nose with ytest This huge commit substitutes nose with pytest as a testing system. Things done here: * deleted external/nose as it is no longer used * moved mock resources in their own directory 'test/mock/' * ported two tests (cmd/find, build_system) to pytest native syntax as an example * build_environment, log: used monkeypatch instead of try/catch * moved global mocking of fetch_cache to an auto-used fixture * moved global mocking from test/__init__.py to conftest.py * made `spack test` a wrapper around pytest * run-unit-tests: avoid running python 2.6 tests under coverage to speed them up * use `pytest --cov` instead of coverage run to cut down testing time * mock/packages_test: moved mock yaml configuration to files instead of leaving it in the code as string literals * concretize.py: ported tests to native pytest, reverted multiprocessing in pytest.ini as it was creating the wrong report for coveralls * conftest.py, fixtures: added docstrings * concretize_preferences.py: uses fixtures instead of subclassing MockPackagesTest * directory_layout.py: uses fixtures instead of subclassing MockPackagesTest * install.py: uses fixtures instead of subclassing MockPackagesTest * optional_deps.py: uses fixtures instead of subclassing MockPackagesTest optional_deps.py: uses fixtures instead of subclassing MockPackagesTest * packages.py: uses fixtures instead of subclassing MockPackagesTest * provider_index.py: uses fixtures instead of subclassing MockPackagesTest * spec_yaml.py: uses fixtures instead of subclassing MockPackagesTest * multimethod.py: uses fixtures instead of subclassing MockPackagesTest * install.py: now uses mock_archive_url * git_fetch.py: uses fixtures instead of subclassing MockPackagesTest * hg_fetch.py: uses fixtures instead of subclassing MockPackagesTest * svn_fetch.py, mirror.py: uses fixtures instead of subclassing MockPackagesTest repo.py: deleted * test_compiler_cmd.py: uses fixtures instead of subclassing MockPackagesTest * cmd/module.py, cmd/uninstall.py: uses fixtures instead of subclassing MockDatabase * database.py: uses fixtures instead of subclassing MockDatabase, removed mock/database * pytest: uncluttering fixture implementations * database: changing the scope to 'module' * config.py: uses fixtures instead of subclassing MockPackagesTest * spec_dag.py, spec_semantics.py: uses fixtures instead of subclassing MockPackagesTest * stage.py: uses fixtures instead of subclassing MockPackagesTest. Removed mock directory * pytest: added docstrings to all the fixtures * pytest: final cleanup * build_system_guess.py: fixed naming and docstrings as suggested by @scheibelp * spec_syntax.py: added expected failure on parsing multiple specs closes #1976 * Add pytest and pytest-cov to Spack externals. * Make `spack flake8` ignore externals. * run-unit-tests runs spack test and not pytest. * Remove all the special stuff for `spack test` - Remove `conftest.py` magic and all the special case stuff in `bin/spack` - Spack commands can optionally take unknown arguments, if they want to handle them. - `spack test` is now a command like the others. - `spack test` now just delegates its arguments to `pytest`, but it does it by receiving unknown arguments and NOT taking an explicit help argument. * Fix error in fixtures. * Improve `spack test` command a bit. - Now supports an approximation of the old simple interface - Also supports full pytest options if you want them. * Use external coverage instead of pytest-cov * Make coverage use parallel-mode. * change __init__.py docs to include pytest
2016-12-05Remove CYAML tests from Spack now that the DB is JSON. (#2487)Todd Gamblin1-4/+2
2016-12-05travis: sphinx does not support python 2.6 anymore (#2485)Massimiliano Culpo1-0/+3
2016-10-30travis.yml: Only build master and develop on pushTodd Gamblin1-0/+6
2016-10-15travis : unit tests will run with and without libyaml (#2024)Massimiliano Culpo1-2/+5
* travis : unit tests will run with and without libyaml * travis : fixed package that are installed
2016-08-30Install graphviz before build.Todd Gamblin1-0/+6
2016-08-30Fix typos and bugs in Travis config fileAdam J. Stewart1-5/+2
Forgot to change one of the TEST_TYPEs to TEST_SUITE. -eq not working, trying == instead. Cache doesn't seem to be working, removed.
2016-08-30Overhaul Spack's CI InfrastructureAdam J. Stewart1-18/+21
2016-07-30qa : fixes #1370 (no flake8 on python 2.6, coveralls only python 2.7)alalazo1-11/+14
2016-05-11.travis.yml uses a script now.Todd Gamblin1-15/+2
- user can run the same script.
2016-05-11Update code style checking.Todd Gamblin1-6/+18
- Exempt overlong URL lines from checks. - Omit some of the more painful PEP items.
2016-05-10qa : differentiate framework from packagesalalazo1-2/+5
2016-05-10qa : copied flake8 configuration, updated travis.ymlalalazo1-1/+1
2016-05-10Move args to .coveragercTodd Gamblin1-2/+2
2016-03-22travis : removed external directory from the list under coveragealalazo1-1/+1
2016-03-22Merge branch 'develop' of https://github.com/LLNL/spack into qa/coding_standardalalazo1-0/+3
Conflicts: .travis.yml
2016-03-15Add compiler info and a simple libdwarf build to the checks.Todd Gamblin1-0/+3
2016-02-05removed redundant references to pep8alalazo1-3/+1
2016-01-19reverted email notificationalalazo1-1/+1
2016-01-19code checking : added flake8alalazo1-0/+3
2016-01-19code checking : added pep8 and coverallsalalazo1-4/+15
2015-11-29Use new travis insfrastructure (sudo:false)Todd Gamblin1-0/+3
2015-11-29Add very basic Travis CI support.Todd Gamblin1-0/+23