Last active
January 30, 2021 21:26
-
-
Save LarsenClose/3676b1dd69f2b231a88cade6aa431a40 to your computer and use it in GitHub Desktop.
HPotter: current .travis.yml build/config files for testing
This file contains hidden or 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
| # Disable sudo to speed up the build | |
| sudo: false | |
| # Set the build language to Python | |
| language: python | |
| # Install the codecov pip dependency | |
| install: | |
| - pip install codecov | |
| - pip install coverage | |
| - pip install -r requirements.txt | |
| # Run the unit test | |
| script: | |
| - coverage run --source src -m unittest discover | |
| - coverage report -m | |
| # Push the results back to codecov | |
| after_success: | |
| - coverage xml -i | |
| - codecov | |
This file contains hidden or 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
| # Disable sudo to speed up the build | |
| sudo: false | |
| # Set the build language to Python | |
| language: python | |
| # Install the codecov pip dependency | |
| install: | |
| - pip install codecov | |
| - pip install coverage | |
| - pip install -r requirements.txt | |
| # Run the unit test | |
| script: | |
| - coverage run --source hpotter -m unittest discover | |
| # Push the results back to codecov | |
| after_success: | |
| - codecov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment