-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (38 loc) · 1.13 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
40
41
# Config file for automatic testing at travis-ci.com
language: python
python:
- 3.8
- 3.7
- 3.6
- 3.5
before_install:
- sudo apt-get install build-essential
- sudo apt-get install g++
- sudo apt-get install libusb-1.0-0-dev
- cd nfcreader/src/
- make
- cd /
- sudo cp /home/travis/build/IanEdwards99/nfcreader/nfcreader/src/libCR95HF.so ./lib
- sudo cp /home/travis/build/IanEdwards99/nfcreader/nfcreader/src/libCR95HF.so ./usr/lib
- cd /home/travis/build/IanEdwards99/nfcreader/
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U tox-travis
# Command to run tests, e.g. python setup.py test
script: tox
# Assuming you have installed the travis-ci CLI tool, after you
# create the Github repo and add it to Travis, run the
# following command to finish PyPI deployment setup:
# $ travis encrypt --add deploy.password
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: IanEdwards99
password:
secure: PLEASE_REPLACE_ME
on:
tags: true
repo: [email protected]/nfcreader
python: 3.5
git: #added line
lfs_skip_smudge: true