-
Notifications
You must be signed in to change notification settings - Fork 188
/
.travis.yml
35 lines (28 loc) · 1.93 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
language: python
python:
- 3.6
os:
- linux
env:
global:
- secure: C0YKuNWFQTplUfoKTY5nCePum6CIwdyrNsoZ1/aLVgtO9GQMLNRqNn1rRThqy6HK7TjwbGTHp01LMzHD1uo44l8CVV5Pb3J0KDiKiL9yW26MHwKg/FrXq8GYtGKebc7uaN7CYOBsqeVoWk76DDALJWe6z6KWf0y8oyjbyWb+6AcVEl0N2vDgyijEYAPihJzF6G+p/2pQQpSC+CSMwqHfdlyng1b5ltt3kuwz9/KRfDCxpqwK5jjs5sdzUstW+YFTPPXWqoH5mvbSBTAp4ovLCV4cT+NeLEUz3dhmzCgwOENBvWPJ2oMb6WSoLJ8mGVSnFdF7xfK+mq4qJu2rEggz5DOCtwjCt32gLAs4oEwQmRYX4f9U8i0cptiv4gpsqr3adRUvsC4WqlrrEVAw4qLPHEBNSg/xeYOmLOczmXUQBE4/iYTpxM1ReG7R8uAbePV7ZGJpAAHwYZbxaCGcjpksX5osp9NI5gDscVL3f9eSd+0o2dRts/KYmcxcI4rQ22q1cuV3Y7XMp3SThkKYCiojt59ZW8zspbcw8gWmuKdqcLIjtGciXHwjxFP+fxP9qKz5LEpHElK+bTp8rI+cNKYhFwKQxkf679jdPvksWXBvoA1n62Sq5wmis7f7xAh/V+W2kdbk5OwDqlLYFwck7TAmofKIOiqz7YYa8WXw+bvAhvs=
- secure: WCJX4Z5eUSrEouchWsuFHAxSiOKYEgbOMi6FXmV3NSROa1fKGLmQxG5z0H7vIOivpJCIRTjuruhucXagDx3B7UpRlZonsNlDjANCpX6k7k2mQe9Kth+qzROMkh0cr8eHmvWo1vCXv+jRUo4Zpk+RN4UV6zCbCqT3w1KZ2erzeQ+LjFzsamhrp+HhLb51sgi7Q0FuVwYXHxqQyqp+0oXwH+qcsPAOR8zT2C4SmhPF22RLvn7Xd1BmQO5zBpSj2wmCdM/hBZUucsy+CRvTRaJIhkW46piTQI/LwRWpJOOQ3uSvk87OuAsmsyhmSbfbq77ep01QySKwpbiA4zDrXIJ8HAmlDkDOdYNfVIwbAib83ovlnR/3Bzv2Ahx3PwEpxsQVK0wE0guDhmMalRwnaMvLZW/paA0yZ3yCZ/56mdTpKpMeysNZogjPP7sIdzqYAgyfL71Oz3Y3qbTEmGWAfSHYrE3Pl1gVmGUBN97ngSN9M3X+Ig4Zs+dBxt+kTjdgjQMDH4t9YzjAY/mcJIIKmk3Hn8MH9cJHwSdRiUl+h0VQvw7Ll0MHFxFx9MPIlcrccrx4apiSYk9KnMVfxOcXLh2G5r8peEvfjdAOLpjiIs2d8vFR9D9jNajEyqLlSTgaUTXBXmhrXG5imaFcHqS3fKzWgaJtlGsWnycvxWKnSMp6v8o=
install:
- pip install pip -U
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
- source $HOME/.poetry/env
- poetry install --no-interaction
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script:
- poetry check
- poetry run pytest
deploy:
provider: script
script: poetry publish --build --no-interaction --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
on:
tags: true
branch: master
python: 3.6