forked from lovasoa/marshmallow_dataclass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (51 loc) · 1.73 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: python
os: linux
dist: xenial
install:
- pip install --pre -e '.[dev]'
script:
- pytest
stages:
- pre-commit hooks
- test
- documentation generation
- name: deploy
if: branch =~ /^v\d+\.\d+(\.\d+)?(\S+)?$/
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(\S+)?$/
python:
- "3.8"
- "3.7"
- "3.6"
- "nightly"
- "pypy3"
matrix:
fast_finish: true
allow_failures:
- python: "nightly"
include:
- stage: pre-commit hooks
script: pre-commit run --all-files
- stage: documentation generation
script: cd docs && make html && cd ..
- stage: deploy
python: 3.7
install: pipenv install --pre -e '.[docs]'
script: cd docs && make html && cd ..
deploy:
- provider: pages
skip_cleanup: true
token: $GITHUB_TOKEN
keep_history: true
local_dir: docs
on:
branch: master
- provider: pypi
username: lovasoa
password:
secure: "WhUEch0YOZRtqr+r6BAd2KfgMY2IctHdoXNbl60qbyURjX3RzmICxB6GFHlAPkzu+b7GkY/WxKrAEa9NjjkHZ69M+x6ozORW4+YzicNVIgqxQkE65Su6l8zOCSexncMJrtmYceoxaRcX2Bsjy9r5fAv0gO6+WugOCAV6sZHkANqIjySTN82vAnla9/htWcesvw3JFckhdsPH/Lnu+o/hHKeM33vQUsJThQ73fatNuObyzglaoNu2L1PSjitI3wBA3jOpAL2o5v7bD/P7Krpu+YsGlaJNMHfHWkcNxypikZitCKcocoI7dWgQvSTqWA6TPV/MboRRF/2ZhnMKuw7ZY84GBx8Dyyw/len9s/1+m8kgu9ES1qJaIf03fvC60Uend2n2yk3sx6+rG1CCAvf21CJgMW+6XAqKpLI2tj0nPdBHvLGSdeRtTO5Ubpw8hDModlVai0RLhtYNkjLQkl+QrEehm2x/zhrP7gCudXQsKx8jvHHF70/pCN/WlvUhR42HEqWsPg7ZahkWi7YkFVY7e846ScxbWKjFL1s6vyCZso5U9DdUBvVEinshLoSZSbXotF4oHqdyKf17Hk0P6dPn/ocxGRB5rWWn5irhtEqcxZFKgawO8N1GYnTF64YewvO3O5gNqXrbpwCSScOrvDKDRosAWQ0yB/71ZvUEEcaYiFw="
on:
tags: true
all_branches: true