forked from thehyve/transmart-packer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (32 loc) · 1.39 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
language: python
matrix:
include:
- python: "3.6"
- python: "3.7"
dist: xenial
sudo: true
services:
- redis-server
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install codecov
# command to run tests
script: celery -A packer.tasks worker & sleep 5; python setup.py test; killall celery
deploy:
provider: pypi
distributions: "sdist bdist_wheel"
skip_existing: true
user: gijskant
password:
secure: WIHOpeDc4RenSJMY1N/Wenpji+yOvaeTG/rl9Qj7XfGiqmPILx0F/K5+zbmKH9saWbnVHWLO95yYc4ZdpG6wlv67GI2oW/G6d05ZxjWKGdLJAp7bnmqHqf/4DE90d8ZXxNkAs+NXeJ377IrZRoXmyh4BQOeY1cc2AMJMLLpyxVpG0xc1qH1/v0XaDCZpVn70MV7cqX++oNXJqJ8IG5Q/mxSgY0DTm1BDKjPN1xe8hF3/3kYDNvqekFdtCGB3L6xHLe9WYwe9tQDzeTtYu9+e4d9jjSDXvSgPfav6iuF+DAwzLraXiAeU1w5o0Yxm0Zj7zj1GklThUWNmXO1YixEP0T/grI/OaZk+HyMp7ZyuN91BBTovdVB1OaQuxICuDJh0w1miRSQNJS9Y94N5ToXV+1maLI2KEYCNFydJQAFbgTWecKiic69Hr/VjwO6XxBselQw3UsAkut8eR/ftzV2RbE8QOnSi4St3Qpk0DGYyBmvhDFBUD1H5bqcR5KrZaHB2/dYsOSDNNSfeZgic5svBT1q6mYEFMKI6VwkZLqBAzpTYAV2srdti2+uTOeFS/o91HcCXpjOhJucL8yVq6Cs7rrV0W+58WPUFsAxFRvs1m9nbGDj3EHMMn76pgtYocDw1S0dNcYkfqMOjCllweQtS+zohemOTJpewQIHtoGsTj3U=
on:
tags: true
branch: master
# To have `DOCKER_USERNAME` and `DOCKER_PASSWORD`
# use `travis env set DOCKER_USERNAME ...`
# use `travis env set DOCKER_PASSWORD ...`
after_deploy:
- travis_retry ./docker/release.sh
after_success:
- codecov