Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,19 @@ after_success:
jobs:
include:
- python: 2.7
- python: 2.7
arch: ppc64le
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
- python: 3.7
arch: ppc64le
dist: xenial
- python: "pypy2.7-5.10.0"
- python: "pypy3.5-5.10.0"

- stage: lint
name: "black"
python:
Expand All @@ -45,13 +51,15 @@ jobs:
script:
- black --check setup.py tests graypy
after_script: skip

- name: "pylint"
python:
- 3.6
before_script: skip
script:
- python setup.py lint || exit $(($? & 35))
after_script: skip

- name: "twine check"
python:
- 3.6
Expand All @@ -62,6 +70,8 @@ jobs:
script:
- twine check dist/*
after_script: skip

- &def_sdist_build
- stage: build
name: "sdist"
python:
Expand All @@ -70,6 +80,11 @@ jobs:
script:
- python setup.py sdist
after_script: skip
- <<: *def_sdist_build
name: "sdist PPC"
arch: ppc64le

- &def_bdist_build
- name: "bdist_wheel"
python:
- 3.6
Expand All @@ -79,6 +94,11 @@ jobs:
script:
- python setup.py bdist_wheel
after_script: skip
- <<: *def_bdist_build
name: "bdist_wheel PPC"
arch: ppc64le

- &def_sphinx_build
- name: "sphinx docs"
python:
- 3.6
Expand All @@ -88,7 +108,12 @@ jobs:
script:
- sphinx-build docs/ build/
after_script: skip
- <<: *def_sphinx_build
name: "sphinx docs PPC"
arch: ppc64le

- stage: deploy
- &def_deploy
deploy:
python:
- 3.6
Expand All @@ -101,3 +126,5 @@ jobs:
branch: master
repo: severb/graypy
distributions: "sdist bdist_wheel"
- <<: *def_deploy
arch: ppc64le