Skip to content

Commit

Permalink
Set up travisci
Browse files Browse the repository at this point in the history
  • Loading branch information
ageitgey committed Mar 7, 2017
1 parent 90e469a commit 961e2c6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 165 deletions.
32 changes: 8 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,15 @@
# This file will be regenerated if you run travis_pypi_setup.py

language: python
python: 3.5

env:
- TOXENV=py35
- TOXENV=py34
- TOXENV=py33
- TOXENV=py27
- TOXENV=py26
- TOXENV=pypy
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -U tox
install: pip install -r requirements.txt --use-mirrors

# command to run tests, e.g. python setup.py test
script: tox -e ${TOXENV}

# After you create the Github repo and add it to Travis, run the
# travis_pypi_setup.py script to finish PyPI deployment setup
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: ageitgey
password:
secure: PLEASE_REPLACE_ME
on:
tags: true
repo: ageitgey/face_recognition
condition: $TOXENV == py27
script: make test
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
face_recognition_models
Click>=6.0
dlib>=19.3.0
numpy
scipy
6 changes: 5 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ coverage==4.1
Sphinx==1.4.8
cryptography==1.7
PyYAML==3.11

face_recognition_models
Click>=6.0
dlib>=19.3.0
numpy
scipy
18 changes: 0 additions & 18 deletions tox.ini

This file was deleted.

122 changes: 0 additions & 122 deletions travis_pypi_setup.py

This file was deleted.

0 comments on commit 961e2c6

Please sign in to comment.