This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
31 lines (31 loc) · 2.05 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
sudo: required
language: python
cache:
- apt
- pip
python:
- 3.6
- 3.7
before_install:
- sudo add-apt-repository -y ppa:maxmind/ppa
- sudo apt-get update
- sudo apt-get install geoipupdate libsnappy-dev
- 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
install:
- pip install -r dev_requirements.txt
script:
- python3 setup.py test
- python3 setup.py sdist bdist bdist_wheel
notifications:
email:
on_success: never
on_failure: change
env:
global:
- secure: Dt66JWZJswhcddLr3OhIPArTWCJbLCS1LDkfi1W/76O3hZ94h/zx6pHbI15E9ki1ozZadyvOqy0CCx8KXf93ZDB4b92DOC6bkP3V/lSMn6btnR9WXg/oEvb657eCwHyvoR5A1gbxn5Dv5L0Lg4vNMaWwdCeLwYnEMl7lISwZhIR4bZj+1iqnWviNjKgGpqAuLtRqFD2dqRHUpWiUdMWKYKYRMxkXxq5RlJeJ5CMo/2hsaPpexuLN7cxa7uHK78/iQTgz5DlHSfsrqIKIMj4VMuIK+oaokf2x1Rgy5zixZa5vnFQpVgGfZgsFcHD2iShNo9LQRmQMMqun48o7CnaoGJv5pBfRuht0p5kv5dnZqNB8Qmu4csP7kTXrl0Y0IgOvoEaFbjkzb+9CSpAwEau5bL2tc6a38g45maLyGIxtJg9LzbMVPJ3tUO3ufT7zniHU5iSgYXUNEIPb64Mwf6ym0VJxF9FWQvDEXiXlnK+EA74tV7R+64AHYUhSQEubH/1Cti8F7Mg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