-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (38 loc) · 2.86 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
sudo: required
language: python
cache: pip
python:
- 3.6
- 3.7
- 3.8
before_install:
- sudo add-apt-repository -y ppa:maxmind/ppa
- sudo apt-get update
- sudo apt-get install geoipupdate
- sudo rm -f /etc/GeoIP.conf
- echo "UserId $MM_USERID" | sudo tee /etc/GeoIP.conf > /dev/null
- echo "LicenseKey $MM_LIC" | sudo tee -a /etc/GeoIP.conf > /dev/null
- echo 'ProductIds GeoLite2-Country GeoLite2-City GeoLite2-ASN' | sudo tee -a /etc/GeoIP.conf > /dev/null
- sudo geoipupdate
- pip install -r dev_requirements.txt
script:
- python setup.py develop
- python setup.py test
- python setup.py sdist bdist bdist_wheel
notifications:
email:
on_success: never
on_failure: never
deploy:
provider: pypi
user: __token__
on:
branch: master
tags: true
condition: $TRAVIS_PYTHON_VERSION = "3.8"
password:
secure: MJq8KxqLT4R/QPNNZvgcqxtNOOvFLhYD0HGcrQxq4MLdUsQoa02cSREmUQb/9SmGfuAGu6Rj+4c0TyVhWNbmev8o0uS58IQ7rLfWT6Y0yyHAa1fUxU7N8fn9F1QvszkP15I4fBeo8re1L31WHNSfoKU53q+HuVIONrfnYE/ugxjSljHbv0YqqEjUPMsyG3xQJ4wrYIiaMA2aRpSHjEcHcKVyb2wV/FD2K+1J66mYvt0c1BAYqGqwiLMe3jWbeL6crDtS9qXGJZ6AIzySlDug+rj9GWw5gBmjL2iRNpk6Yb9lgPWpwP2WwMrG6FBeEQ2wY1MhEb8QhOxhXkyY5EkeTTw3eQKd2q+OW77x9dejmmfM4XggzxwLS+DAG+jZhT3fE6jec3zLp6X/Bax4kYZoXb5KIGkKU3I89a5xH8ln8FJDvDP09S0WxGMVsKuqSsdnJFAgh10NztuM8IyHDsS8hzkvJCcNY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