Skip to content

Commit

Permalink
Enable Travis and Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLorenzo committed Oct 29, 2018
1 parent 4e9c8bf commit 22fc29d
Show file tree
Hide file tree
Showing 17 changed files with 762 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
branch = True
omit = maven_lambda/test/*
62 changes: 62 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/
_build/

# PyBuilder
target/

# vim
*.swp
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
dist: trusty
sudo: false

language: python

matrix:
fast_finish: true
include:
- python: 3.6
env: TOXENV=py36

- python: 3.7
# from https://github.com/travis-ci/travis-ci/issues/9815#issuecomment-401756442
dist: xenial
sudo: true
env: TOXENV=py37

install:
- travis_retry pip install tox
script:
- tox -e "$TOXENV"
- if [[ $TOXENV == 'py37' ]] ; then tox -e coveralls; else echo "No coverage to do"; fi
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).


## [0.1.0] - TBD
Loading

0 comments on commit 22fc29d

Please sign in to comment.