forked from NSLS-II/nslsii
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NSLS-II#43 from awalter-bnl/add-travis-yml
Adding .yml file and enc file for Travis integration and doc creation
- Loading branch information
Showing
9 changed files
with
58 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
language: python | ||
python: | ||
- 3.6 | ||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853 | ||
|
||
install: | ||
# Install this package and the packages listed in requirements.txt. | ||
- pip install . | ||
# Install extra requirements for running tests and building docs. | ||
- pip install -r requirements-dev.txt | ||
|
||
env: | ||
global: | ||
# Doctr deploy key for NSLS-II/nslsii | ||
- secure: "FhNkkbod0Wc/zUf9cTvwziAYHcjfte2POf+hoVSmC+v/RcYKCNCo+mGGMhF9F4KyC2nzvulfzow7YXoswZqav4+TEEu+mpuPaGlf9aqp8V61eij8MVTwonzQEYmHAy3KatwXxyvvhQpfj3gOuDVolfOg2MtNZi6QERES4E1sjOn714fx2HkVxqH2Y8/PF/FzzGeJaRlVaVci0EdIJ5Ss5c5SjO6JGgxj4hzhTPHjTaLjdLHlVhuB9Yatl80zbhGriljLcDQTHmoSODwBpAh5YLDUZq6B9vomaNB9Hb3e0D5gItjOdj53v6AsHU8LkncZMvsgJgh2sZZqMO6nkpHcYPwJgbPbKd3RtVlk6Kg/tvKQk0rMcxl5fFFeD2i9POnANg/xJsKN6yAEY3kaRwQtajQmlcicSa/wdwv9NhUTtBmA/mnyzxHbQXrB0bEc2P2QVu7U8en6dWaOAqc1VCMrWIhp2ADNWb7JZhYj70TgmExIU3UH8qlMb6dyx50SJUE9waJj3fiiZVkjh+E568ZRSMvL9n+bLlFt4uDT4AysSby6cj+zjfNViKFstTAqjyd5VJEvCoUu73vNzWEiWFtEvKKVL1P3pbLN/G3aSSJMa5fc1o+2lRUwdwNNOOdH6iKBDZGNpE8nGDlTP2b2dhFyEt8nICKJhbgU208jhyyH8Vk=" | ||
|
||
script: | ||
- coverage run -m pytest # Run the tests and check for test coverage. | ||
- coverage report -m # Generate test coverage report. | ||
- codecov # Upload the report to codecov. | ||
- flake8 --max-line-length=79 | ||
- set -e # Stop here if anything fails above | ||
#commenting out the lines below until there are docs to build. | ||
# - make -C docs html # Build the documentation | ||
# - pip install doctr | ||
# - doctr deploy --built-docs docs/build/html . # Publish the documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gAAAAABbxz01GnyDC8lnHpPlT8i32N3mm2qpw6kSutu50zS_DzikWfBA2IdZtNwROhcddRSgExw8Mr0u254TMM_2jgN_c4GnMar40MjLD_sogS0ZF82vB0p_UTJqzAwimo1euMPalDqBvkoNasnRBz5mCIsrNsbE2QF3zuXqNM0EzTfgcie4f6xGo6C3PfNrxaZUqmlvt4GV5nle4wm7pD58BGiFwkXBqYB8uC6YC4NvkR-iR7jJonldxvcuspM6VZRlPAV7oIG2XTgouY0N3vIRaDpc595xqQwqooHGN9b-dWKWPU7q1dLbrz9SNuqJNtZaP0Q3md5eXdw_6rw9Lbq5GjEsSqhi1PRT8lQFByPNBnfZWGcNkMubjaMwq9psOQwl3dXdLHH-tGBnyB2DSRDdiyZ4nWgVt9SmHvnmvcapZUOjEStLjHkSjQBVb3lfIs7HamuU2TUMPJAUIRmvzKpmVX8m98A1seFlapJSU-6f23nJjAabHBnpJjSvw8ifuR2qWaNgBlVZrNs2neMpP7DgYdNAK-iE-inoDx3KsHb2ZidebxTLsS74ZifCWNA_Oz0QJLOuym2yYrKfdIde3VKnP20l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YL2CiTtLN-mK-DbCkja8f7MivR-5onIwTtG6Jmh_H_80HCcGSOWHTEyfJD7DhhdKhJyMTq9xp-B6ZCS3bz7AhXEbvVtuMYBIPbxjdrhdv5uctQ3GYB72DJfKoaiCUnfvy_HRxayed1UswYDT6eA55BZHLC9gFAHMt1pmqV2bqxooDxfpTlPXBdfvHqphI3CVz4qIPK5chsdVC19aOh3pQrximlB_5qJAcNCZ3xtqyPO1Rf3sh53elsXW7gwhgzbPLe0opjexYDAC0OMiH_YJOZ4QVhu69SLc_jjfBH3D55qEg6r_AVETCCnNfF3iZwagkj75_aT24kr-W9vBVOctn3RngoKGsCYQvqZDTPSHjRpbsXe2pd7-a8tMRMXFaar7rBiXkeRjMkUxQuA5uxDKG1Fh-fpLmJU9haNmOL3xSysFu2Ep6eNbGYZ3djHKoHOL2kQYPEBIZ17R1tcO5DWgIxo0AQN4WOW5JkJh1s4CMtQAmDa7yRhDI49nQ8UByC1BIKgP1NJ99kD4wxS0IUHZ90zPcDq59UhtI1Xkr8J99Enp6u5Y1Qnhaf0l1WBo8O4qvHkRQl9oP8KfUz642S46w== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from __future__ import print_function | ||
import os | ||
from ophyd import Signal | ||
|
||
|
||
def makedirs(path, mode=0o777): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# These are required for developing the package (running the tests, building | ||
# the documentation) but not necessarily required for _using_ it. | ||
codecov | ||
coverage | ||
flake8 | ||
ipython | ||
matplotlib | ||
numpydoc | ||
pytest | ||
sphinx | ||
sphinx_rtd_theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ | |
requirements = f.read().splitlines() | ||
|
||
setuptools.setup( | ||
name='nslsii', | ||
name='nslsii', | ||
version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass(), | ||
cmdclass=versioneer.get_cmdclass(), | ||
license="BSD (3-clause)", | ||
packages=setuptools.find_packages(), | ||
description='Tools for data collection and analysis at NSLS-II', | ||
author='Stuart B. Wilkins', | ||
author='Stuart B. Wilkins', | ||
author_email='[email protected]', | ||
install_requires=requirements, | ||
) |