Skip to content

Commit ba33fe5

Browse files
committed
reinstate full travis build
Signed-off-by: Chris Snow <[email protected]>
1 parent e06dac7 commit ba33fe5

File tree

1 file changed

+63
-63
lines changed

1 file changed

+63
-63
lines changed

.travis.yml

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: python
2-
# python:
3-
# - "2.7"
4-
# - "3.5"
5-
# - "3.6"
6-
# - "3.7"
7-
# - "3.8"
8-
# - "3.9-dev"
2+
python:
3+
- "2.7"
4+
- "3.5"
5+
- "3.6"
6+
- "3.7"
7+
- "3.8"
8+
- "3.9-dev"
99
install:
1010
- pip install tox-travis
1111
- pip install python-coveralls
@@ -23,66 +23,66 @@ after_success:
2323

2424
jobs:
2525
include:
26-
# - stage: flake8_code
27-
# name: "Flake8 code checks"
28-
# python: 3.8
29-
# install:
30-
# - pip3 install flake8 flake8-per-file-ignores
31-
# script:
32-
# - flake8 bin/ hpecp/ tests/
26+
- stage: flake8_code
27+
name: "Flake8 code checks"
28+
python: 3.8
29+
install:
30+
- pip3 install flake8 flake8-per-file-ignores
31+
script:
32+
- flake8 bin/ hpecp/ tests/
3333
- stage: flake8_docs
3434
name: "Flake8 doc checks"
3535
python: 3.8
3636
install:
3737
- pip3 install flake8 flake8-docstrings flake8-per-file-ignores
3838
script:
3939
- flake8 --exclude hpecp/catalog.py,hpecp/config.py,hpecp/gateway.py,hpecp/logger.py,hpecp/lock.py,hpecp/k8s_cluster.py,hpecp/k8s_worker.py,hpecp/license.py,hpecp/exceptions.py,hpecp/user.py,hpecp/tenant.py,hpecp/role.py --docstring-convention numpy bin/ hpecp/
40-
# - stage: coverage_library
41-
# name: "Code coverage LIBRARY (./hpecp)"
42-
# python: 3.8
43-
# install:
44-
# - pip3 install coverage
45-
# script:
46-
# - coverage erase
47-
# - coverage run --source hpecp setup.py test
48-
# - coverage report -m --fail-under 68
49-
# - stage: coverage_cli
50-
# name: "Code coverage CLI (./bin)"
51-
# python: 3.8
52-
# install:
53-
# - pip3 install coverage
54-
# script:
55-
# - coverage erase
56-
# - coverage run --source bin setup.py test
57-
# - coverage report -m --fail-under 32
58-
# - stage: format
59-
# name: "Check code formatting"
60-
# python: 3.8
61-
# install:
62-
# - pip3 install black
63-
# script:
64-
# - black --check hpecp/ tests/ bin/
65-
# - stage: deploy
66-
# if: branch = master
67-
# python: 3.8
68-
# install:
69-
# - pip install tox-travis
70-
# - pip install python-coveralls
71-
# - pip install coverage==4.5.4
72-
# - pip install tabulate
73-
# - pip install six
74-
# - pip install polling
75-
# - pip install sphinx
76-
# script:
77-
# - cd docs
78-
# - make html
79-
# - touch ./build/html/.nojekyll
80-
# deploy:
81-
# provider: pages
82-
# skip_cleanup: true
83-
# github_token:
84-
# secure: h+fqasd4ZOdm0IxVRQVl3IKmENIB3AB5IeVSNK7J35LMG+/QzaZD26naD0CVfa7RbGeKv9EpV91f3SHR/SikY0l+IA2OT0607SWdDYxFYrbrPzEwG8N72UwwcCCO2hfscE68krRYt2zDoWY7chZeJsAHTcL0l5ap2k34AYiDnBUW1PffgAGoVLbBH1dcTRi3pYCx0rbsQYv06D3wkuGF/Yin04uuxFaE+aLIfKxJVAeeiKcsPEzVyZHDOI08r6lzRjtjT+p1HOgnPH08pLcHdpRC0lP9RK/xCPvbhj5zS0PnDqcbYjpWpLK1Jg8MzLaHTo3223ygMmiNLXZptb6anfuulLBpzYLetgLF4QZsQYQfkY/IdtGVR2oWtq+0v54qFeSOH88SQPqOtyKTj0WlBT343y+DoVbhLNKvSmxiWFE/fr2b7VXYqF/gllZHZdQ2WQfI1F/lHeWZtScZaRK5sq7ofyecCpNy+Hw55F2i1Q+YTdJD8VtD/Zmz3j+OTW6uMUKPxnBrHnK6hjrrTg/t+mVhP7Ui4voEuiv5SSdTwGd4iYLdFpOchmduGW0mRzAeES+TOExpWmLnYKkKgQ1XiZ4rX6woZNIVAk0wTHzl2DpYaCpDHYwhNlzIyLD0j4gmwdlE4JD5Ut1YLr+gnMcoLMxPLY96vMohRI0WML+38O0=
85-
# keep-history: true
86-
# on:
87-
# branch: master
88-
# local_dir: docs/build/html
40+
- stage: coverage_library
41+
name: "Code coverage LIBRARY (./hpecp)"
42+
python: 3.8
43+
install:
44+
- pip3 install coverage
45+
script:
46+
- coverage erase
47+
- coverage run --source hpecp setup.py test
48+
- coverage report -m --fail-under 68
49+
- stage: coverage_cli
50+
name: "Code coverage CLI (./bin)"
51+
python: 3.8
52+
install:
53+
- pip3 install coverage
54+
script:
55+
- coverage erase
56+
- coverage run --source bin setup.py test
57+
- coverage report -m --fail-under 32
58+
- stage: format
59+
name: "Check code formatting"
60+
python: 3.8
61+
install:
62+
- pip3 install black
63+
script:
64+
- black --check hpecp/ tests/ bin/
65+
- stage: deploy
66+
if: branch = master
67+
python: 3.8
68+
install:
69+
- pip install tox-travis
70+
- pip install python-coveralls
71+
- pip install coverage==4.5.4
72+
- pip install tabulate
73+
- pip install six
74+
- pip install polling
75+
- pip install sphinx
76+
script:
77+
- cd docs
78+
- make html
79+
- touch ./build/html/.nojekyll
80+
deploy:
81+
provider: pages
82+
skip_cleanup: true
83+
github_token:
84+
secure: h+fqasd4ZOdm0IxVRQVl3IKmENIB3AB5IeVSNK7J35LMG+/QzaZD26naD0CVfa7RbGeKv9EpV91f3SHR/SikY0l+IA2OT0607SWdDYxFYrbrPzEwG8N72UwwcCCO2hfscE68krRYt2zDoWY7chZeJsAHTcL0l5ap2k34AYiDnBUW1PffgAGoVLbBH1dcTRi3pYCx0rbsQYv06D3wkuGF/Yin04uuxFaE+aLIfKxJVAeeiKcsPEzVyZHDOI08r6lzRjtjT+p1HOgnPH08pLcHdpRC0lP9RK/xCPvbhj5zS0PnDqcbYjpWpLK1Jg8MzLaHTo3223ygMmiNLXZptb6anfuulLBpzYLetgLF4QZsQYQfkY/IdtGVR2oWtq+0v54qFeSOH88SQPqOtyKTj0WlBT343y+DoVbhLNKvSmxiWFE/fr2b7VXYqF/gllZHZdQ2WQfI1F/lHeWZtScZaRK5sq7ofyecCpNy+Hw55F2i1Q+YTdJD8VtD/Zmz3j+OTW6uMUKPxnBrHnK6hjrrTg/t+mVhP7Ui4voEuiv5SSdTwGd4iYLdFpOchmduGW0mRzAeES+TOExpWmLnYKkKgQ1XiZ4rX6woZNIVAk0wTHzl2DpYaCpDHYwhNlzIyLD0j4gmwdlE4JD5Ut1YLr+gnMcoLMxPLY96vMohRI0WML+38O0=
85+
keep-history: true
86+
on:
87+
branch: master
88+
local_dir: docs/build/html

0 commit comments

Comments
 (0)