Skip to content

Commit 961e2c6

Browse files
committed
Set up travisci
1 parent 90e469a commit 961e2c6

File tree

5 files changed

+18
-165
lines changed

5 files changed

+18
-165
lines changed

.travis.yml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,15 @@
22
# This file will be regenerated if you run travis_pypi_setup.py
33

44
language: python
5-
python: 3.5
6-
7-
env:
8-
- TOXENV=py35
9-
- TOXENV=py34
10-
- TOXENV=py33
11-
- TOXENV=py27
12-
- TOXENV=py26
13-
- TOXENV=pypy
5+
python:
6+
- "2.7"
7+
- "3.3"
8+
- "3.4"
9+
- "3.5"
10+
- "3.6"
1411

1512
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
16-
install: pip install -U tox
13+
install: pip install -r requirements.txt --use-mirrors
1714

1815
# command to run tests, e.g. python setup.py test
19-
script: tox -e ${TOXENV}
20-
21-
# After you create the Github repo and add it to Travis, run the
22-
# travis_pypi_setup.py script to finish PyPI deployment setup
23-
deploy:
24-
provider: pypi
25-
distributions: sdist bdist_wheel
26-
user: ageitgey
27-
password:
28-
secure: PLEASE_REPLACE_ME
29-
on:
30-
tags: true
31-
repo: ageitgey/face_recognition
32-
condition: $TOXENV == py27
16+
script: make test

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
face_recognition_models
2+
Click>=6.0
3+
dlib>=19.3.0
4+
numpy
5+
scipy

requirements_dev.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ coverage==4.1
88
Sphinx==1.4.8
99
cryptography==1.7
1010
PyYAML==3.11
11-
11+
face_recognition_models
12+
Click>=6.0
13+
dlib>=19.3.0
14+
numpy
15+
scipy

tox.ini

Lines changed: 0 additions & 18 deletions
This file was deleted.

travis_pypi_setup.py

Lines changed: 0 additions & 122 deletions
This file was deleted.

0 commit comments

Comments
 (0)