-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (73 loc) · 2.28 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
language: python
sudo: false
dist: xenial
cache: pip
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
stages:
- check
- test
- deploy
jobs:
include:
# Stage Check
- stage: check
python: 3.7
env:
- TOXENV=py37-check
# Stage test
- stage: test
python: 3.7
env:
- TOXENV=py37-django30,py37-djangomaster,py37-codecov
# Stage deploy
- stage: deploy
python: 3.7
env:
- TOXENV=docs,py37-codecov
# Deploy: disable jekyll in order to publish subfolders with leading underscores as well to pages
before_deploy:
- mkdir -p build/
- touch build/.nojekyll
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
# production pypi
- provider: pypi
distributions: sdist bdist_wheel
user: "__token__"
password:
secure: "dri17u3WmdngTK4/ZqcfOdoetzryFshLoGiN2ivhRsu6a+Yu3UnlhbJ33TczWvoeG/l6THAe38k/lSI3CJMiw+ru8dlNVJUNLDXO0A20gfuNb31PFYwAW6YIY0w0ecWGUfSrre0ZQMLTBJooiFPbH6VDtRxk6j4c8BTEQ9jYWEUpJkeQEtHyzRuxEGtyjG6odCx7R8xKYfFDkuibozvaWP24BDBxRbXhVQpsrvI817a4rBCIuTiZCXnoKxFM7Yad3Yl0jhU+j4itvhO59nD0CMF1RIdFfVvagV8sfUAcW/weRfoS2gWqY0301xBXCKRM72pJE1YLPdCy0Yq5+1bCjlCaH3pL6gjgSEZJ0SRfAPmczGF3oLSGoQ6lA5+2lTgn1ChkLqjy2IykRqi7CLXHa8XmbZ/6QLYWB7fy+9VLZ5mQmFJhtYjX6U2oY6Y1A0AANUrzDOa66nKX3lCEol5WEryLuVHZjtHucH+LYH4uHGzAEvK7xy6b1p2SObIH2y1qXQN7iTxwaP2yVVysd735emelas4M23LfchUSkiJilu97C5njHk4IHPnSHpYMRc8PlqTFATZXAzNZZaEkS0A/RULdwjgq87+6WQt3bqxE6qCKsvaB+RRnBYzSISSfNtlICUmc199vuNgevluNp55vXLL7cHdrRH1oautU5RN0Q3s="
on:
branch: master
python: 3.7
tags: true
# publish example: build by tox, published to pages
- provider: pages
skip_cleanup: true
local_dir: build/
github_token: $GITHUB_TOKEN
on:
branch: master
python: 3.7
before_install:
- python --version
- uname -a
- lsb_release -a
install:
- pip install tox
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
script:
- tox -v
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: never
on_failure: always