-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (53 loc) · 2.36 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
dist: xenial
language: python
install:
- pip install --upgrade pip wheel setuptools
- pip install tox
script:
- tox
matrix:
include:
- python: '3.7'
env: TOXENV=py37-django2.2
- python: '3.7'
env: TOXENV=py37-django3.0
- python: '3.8'
env: TOXENV=py38-django2.2
- python: '3.8'
env: TOXENV=py38-django3.0
before_deploy:
if ! [[ $TRAVIS_FASTVIEW_JS_BUILT ]]; then
TRAVIS_FASTVIEW_JS_BUILT=true &&
nvm install &&
nvm use &&
yarn &&
npm run build;
fi;
if [[ ! -e README.md ]]; then
npm run prepackage;
fi
after_deploy:
if [[ -e README.md ]]; then
npm run postpackage;
fi
deploy:
- provider: pypi
user: radiac
password:
secure: G9Gx71SgfB8ECRi4ttrf1BAPJie//c1EH+iIgD3ALLnW9QlcSXiK+Q47VTvwrhLNp4NBO9QFBRhl6/7EzTSwP3F4iWIf00DNBgf3HDn8Ek0vbTH7KkeDvQGdXuv6uO7zsHPLRlwypzeyMXfF6vIYs8U1uzvpT+77U1frhPSgHHragN5DnqMrTKoEmTdRhdYo/fwGweyyrqOMcDBjE40adjd3n7NddsyJjb6rX5czjx7Ff2WcSQKXUrP7BGLcKUhYOkudYNvC5chvYRDoyzfC4vi8qBuxZvExhEm9sZn/2Dgj/aHo/vArf5/8BusaH1Yyy76qGI8atNdfP3sAsa0bojTPL4+mLBooX28iByu6bfTBU9zKg/RnKT/CaFFyRNoUg1EJhXFQgvzNO50T2E53uqYs1vd+DKr8bCGK+JXpxuHEleOueAUZfcr4R7wqIIb72ARndj1Iq2KHEv16gFVEmbXI2LUOrVeMVEGzlB8CWuf+tIEsW1jnf0+Mh6l5mb60LYMmBcDT5gFHJHmlJVokXSAJ/db3o08JxNzjYbZe3YjADKSfWJfg51KTdOFQd0l/FfTxU7doluK+tOx8DCeX57PCGUl0JYlzLwby4DyXJWpvWhLf5d9BM91GkgfS8hRcCPvUlJp7D/74CvxqjK5ih3SYEd4JB3s46riM2Wom6Pw=
on:
tags: true
distributions: sdist bdist_wheel
repo: radiac/django-fastview
condition: "$TOXENV = py38-django3.0"
skip_cleanup: true
skip_existing: true
- provider: npm
email: [email protected]
edge: true
on:
tags: true
repo: radiac/django-fastview
condition: "$TOXENV = py38-django3.0"
api_token:
secure: n80bA+TcT2efCaWkvDIuCtvkAVNFHHxQAWssTSo3Ngjr9A8DZVVMrBvly/1I/zUNCNndOVCRdotM0o/kK0CG+Aq7GsVnhiXyDRdb57sODXYiSAbUEQ8kTZyhRYOcLEnTbfostnbaj+jPneiHcMsKlRU1ybJ6IwkkuW38JbfVUezhaEcRmUwVjjXn72EChw1KXky3nw7GgRRaOljf7s1OB4OkGsRGypCF+80zfU46O75xwJWir2zgcx+mkpY+TWCq3xNalX/gpXhHscjAzAXu8GIk/sOVTCXc3QQPjolvqwvoy7YeAwHcvPjHkV20Yg/GSI+fGHqrM77hd5dMMNGKQGNHJ5WZLzKyekoorJ2rI1/NH2ptP+t7Wx81cwKZYsDqk+5gm90ZG1XBDurjafdfYQc+B3qaxyR+Ysa3UzX7qzmVl9k3Rt5g2xTbUtkv3ZEomumwombAW9l+yzf7r3Xk6KVj59ml3nmIPgXkiH3+VoKgSqs8nr6tOCRV8wBFarT/YHTQZ98DK3iaJI+oeI1YDwaBYV1Mo1VFe9CIB3mJNp8OcXjdnzrJwVVKHMmqCLfJ8SptPpFPCFdjDgvJHk4Z9uWlWA7z22lc8VoW+SAf2Uk6mQt3fsu4PPLsjSjtxGrT5LlobnUWDSs/kL5AjygSThJ32JSNj5cALQCo3UTABlo=