forked from centreborelli/plyflatten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 1.55 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
os: linux
dist: xenial
language: python
python: 3.7
install:
- pip install -e ".[test]" --upgrade --upgrade-strategy eager
script: pytest tests
jobs:
include:
- stage: formatting
name: black
install:
- pip install black
script:
- black --check .
- stage: formatting
name: isort
install:
- pip install "isort[pyproject]"
script:
- isort --check-only .
- stage: packaging
name: "Python sdist installation"
install: skip
script:
- python setup.py sdist
- pip install dist/*.tar.gz
- stage: test
- stage: deploy
if: tag IS present AND repo = cmla/plyflatten
install: skip
script: skip
deploy:
- provider: pypi
user: carlodef
password:
- secure: "DdaWq1uqrfrr+VrWcu7Mtmvkm0PeUOsVZa/JymJulCFSEuekKQ/sfD142/CUYzECLJfaXGgfbihPl4QtnzIgaHmfKsVfIoIAkdbvfhNMj9C0bysRZ/hohsgDOL5PWh8ioGwhPh663IW9oAN5HcODK7Op+7Z3iHXQJwCJaNcd134+L3JemQr76ZV1VoJh+RN1ilv0v/4AyXEGXBkd9F7aQvdy8Xbv0XdcSYNHShiBWJDQ/yuSxEKEQ8tF57pUzdHIJMMP+u+1evkX71l1oqrAp11M5SHZXlUDlUls+gx2+4iobXxaRYTSJp5dwqqUcUps7d4HUQBxtujlr6EyFn0MrCZZ2aA8wGZR7e/Tsccx83flr3OsOEfrMHYaMG4yu6gCUqj3z8+lwU4oYMTwZABaR6HWyhKU4nnFvaotJp/KtYidZTubU+nZChnF3J5Zm7HBD0Z2L8n2Z/OssGjYVuJA3XGmnNQ6duxuYYDNY4SlTzbrSVsZmUInRUA7YDAguLt/JKIFFrotB7WR7t8VzJ0LGMfnroxbu78x7yA2gQuH0H86OhgEZ2ph+R0E5RyocwrQJqohERYyNuFd4weyPyRv1BZ/R3E5/dKq62mW2SvdOyxeq0+LoeSda8Km/6tmSoGMnr93K74sD6v9sRB8BbpqwEWxKuMLby5A2BUAoYaKzRc="
distributions: sdist
on:
tags: true