AMD64
Ruby
Git
Luke-Pratley/Optimus-Primal:.travis.yml@bbb4e92
jobs:
include:
- language: python
python:
- "3.8"
install:
- pip install pywavelets
- pip install pytest
- python setup.py build
- python setup.py install
script: pytest -v tests/*.py
- name: codecov
language: python
python:
- "3.8"
install:
- pip install pytest-cov codecov
- pip install pywavelets pytest
- python setup.py build
- python setup.py install
script:
- py.test tests/*.py --cov-report term --cov=optimusprimal --collect-only
# Push the results back to codecov
after_success:
- codecov
- name: lint-check
language: python
python:
- "3.8"
install:
- pip install --upgrade autopep8
script:
- autopep8 --in-place --aggressive --aggressive optimusprimal/*.py
- git diff
- if [[ -z "git status --porcelain" ]]; then return 1; fi;
Build Config
{
"os": [
"linux"
],
"dist": "trusty",
"sudo": false,
"cache": {
"bundler": true
},
"script": [
"bundle exec rspec"
],
"language": "ruby"
}