-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
32 lines (32 loc) · 2.01 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
sudo: required
dist: xenial
language: python
python:
- '3.5'
- '3.6'
- '3.7'
install:
- wget -q https://codeload.github.com/glassechidna/zxing-cpp/tar.gz/master -O master.tar.gz
- tar xzf master.tar.gz
- cd zxing-cpp-master/
- mkdir build/
- cd build/
- cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=Release
-DCMAKE_CXX_FLAGS=-fPIC ..
- make
- sudo make install
- cd ../..
- rm -rf master.tar.gz zxing-cpp-master
- make install
script:
- make lint test clean
deploy:
provider: pypi
user:
secure: lwgPAQQagNgeeo5jfQdUl3H0X2LXyxtbyiOdpGbQMl8W0UH/EUQnvw96RKUK9GKEzBUyT/dd205e3JQNZVoKPrwTydNhiepzIidoj2bT2/+sglUUtwKMqd5+P2c81rsSIQQJsuGFnhGl+cjBChq2LsWFEpg6RvfABP1CbFABju+xq7g5e9BsWEasSKMlMJMyfi7RaBhllBaF86Qu9Hfi9szuPR9zZJBjtX5g1AzNicEd2PiqvNiYI6t29/ESVsMCg/2pGXSq0QpaUE20DpxHX4xT8sxycbLSCQqrkpCHMnQsu/369VT0HUDF1XPon87pquNrRiZtxhQ+khV4pRW08dVBUmzl0oXNT8l86NSiz7dkmN5YHlzMhRABjYun0EqZ/0cj2zmSK/4xTXHojZFtPlNtrrsJG2Hxi1rEAP/A3VwmlJKLcTS3FER9uDHV6afRapT02/xZ1dbpGBpH+zdQV45XCgiHOK2K8VRHPP6Z4rCywuxo0e8Evbyaj0lRPRfqCbKObeSvslPURF+aXqCcZOdTZdQWWs9xKapMMjrnbjuKoVX0KtfQVndbQ1WeBrSPOBQg3GCHzs2wUFSQA37UuqjFc5nyQEbm5vtOKqYG8ON1rz39A11wvTUrcuZ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