Skip to content

Commit

Permalink
Merge pull request #5 from alcarney/develop
Browse files Browse the repository at this point in the history
New Release v0.4.0
  • Loading branch information
alcarney authored Sep 16, 2018
2 parents c22fda3 + addaf65 commit 3ddd7f2
Show file tree
Hide file tree
Showing 158 changed files with 5,455 additions and 5,619 deletions.
20 changes: 15 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
.benchmarks
.cache
.coverage
.hypothesis
.idea
.ipynb_checkpoints/
.pytest_cache
.tox

__pycache__/

env/
dist/
docs/api
docs/_build

.cache
.hypothesis
docs/using/examples
docs/extending/examples
docs/contributing/examples
docs/_static/examples

*.png
!docs/**/*.png

.eggs/
*.egg-info/
dist/
.coverage
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
exclude: '^$'
fail_fast: true
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
language_version: python3.7
args:
- stylo/
- tests/
60 changes: 47 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,53 @@
language: python
python:
- "3.5"
- "3.6"
matrix:
include:
- env: "TOXENV=py35"
python: "3.5"

env:
- "TASK=lint"
- "TASK=doctest"
- "TASK=test_travis"
- env: "TOXENV=py36"
python: "3.6"

before_install:
- "pip install pytest coveralls flake8"
- env: "TOXENV=py37"
python: "3.7"
sudo: required
dist: xenial

- env: "TOXENV=lint"
python: "3.6"

- env: "TOXENV=benchmark"
python: "3.6"

install:
- "pip install -r requirements.txt"
- "pip install ."
- env: "TOXENV=docs-check"
python: "3.6"

- env: "TOXENV=docs-build"
python: "3.6"

before_install:
- "pip install tox coveralls"

script:
- "make $TASK"
- "tox -v"

after_success:
- if [ "$TOXENV" == "py36" ]; then coveralls; fi

deploy:
- provider: pages
skip-cleanup: true
github-token: $GH_TOKEN
local-dir: "docs/_build/html/"
verbose: true
on:
branch: develop
condition: $TOXENV = docs-build
python: 3.6

- provider: pypi
user: alcarney
password:
secure: "F27QSW59xfuwTIrJMUFNB5Mi1ELQArRvawldBt8YNZH9HxPWdThEUSnXZMs3vzHYV1NwiQV1h/3XalsCbB59fJogcN9NeNdGvM2Ff0phMURlCUytn3pJvuoMDCY4Dnwyy3GZ8XX/zhmZvIYBn1awiL7/JDe6j5iVyeyeKIRbX1DRHEjbKj4XhkHb2NFsbzs8F8fkBARGcldli611LAfuD1+6UQANyzEmyfg4wAbIctRgfQ1F4swp4jCAb5TjkUDEt2/9S2ai49kI7BY5nZ68D50dFNecuVvcXYRazEvGvxvt0OuZAqeUzr7aUTOlmGLp1vTP/QyXRYQDbnnSyvIr3fii104atM30QtBf/C1MlSgH68IOzMg4ULmnBSSFny4ICMIhzosuCVZWtxnghep0LENsk8f0USGsnLja+kOcgB8kGm/PQW4m3IRJpyR9GvzBeRMKoyF4B9o2IEq1nrl/K+EyoA+jtqxzd/gIxLEVrmSWSj37StX8WC1npoGIEDcVQLppf81++TEXR4tznPS3T52gGMrxY5cPYgAg0KItArEeoe0Mfx20kkVU+XkcWsgCP9ccoXu0erYYgvquoBYzyNrAz0JGxCQYC3iCVmUbt87yJRGWUfYPoWiVBJ3haHvi+M4HmpUDOpC/6J8OIAevnEMe22fJGcQTbZtX7JwM0H4="
on:
condition: $TOXENV = py36
python: 3.6
Loading

0 comments on commit 3ddd7f2

Please sign in to comment.