File tree Expand file tree Collapse file tree 7 files changed +9
-15
lines changed
Expand file tree Collapse file tree 7 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 11dist : xenial
22language : python
33python :
4- - " 2.7"
54 - " 3.5"
65 - " 3.6"
76 - " 3.7"
@@ -16,11 +15,7 @@ notifications:
1615install :
1716 - sudo apt-get update
1817 - sudo apt-get install cmake libboost-python-dev
19- - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
20- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
21- else
22- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
23- fi;
18+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
2419 - bash miniconda.sh -b -p $HOME/miniconda
2520 - export PATH="$HOME/miniconda/bin:$PATH"
2621 - hash -r
@@ -33,7 +28,6 @@ install:
3328 - source activate test-environment
3429 - travis_retry pip install --upgrade pip setuptools wheel
3530 - travis_retry pip install -r requirements.txt
36- - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install enum34; fi
3731 - pip install dlib
3832 - python setup.py install
3933 - pip install --upgrade pytest
@@ -51,6 +45,6 @@ script:
5145matrix :
5246 include :
5347 - env : LINT_CHECK
54- python : " 2.7 "
48+ python : " 3.6 "
5549 install : pip install flake8
5650 script : flake8
Original file line number Diff line number Diff line change 11# Based on https://github.com/pytorch/pytorch/blob/master/Dockerfile
2- FROM nvidia/cuda:9.2 -cudnn7-devel-ubuntu16 .04
2+ FROM nvidia/cuda:10.1 -cudnn7-devel-ubuntu18 .04
33
44RUN apt-get update && apt-get install -y --no-install-recommends \
55 build-essential \
@@ -22,7 +22,7 @@ RUN curl -o ~/miniconda.sh -O https://repo.continuum.io/miniconda/Miniconda3-la
2222ENV PATH /opt/conda/bin:$PATH
2323
2424RUN conda config --set always_yes yes --set changeps1 no && conda update -q conda
25- RUN conda install pytorch torchvision cuda92 -c pytorch
25+ RUN conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
2626
2727# Install face-alignment package
2828WORKDIR /workspace
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ Please also see the ``examples`` folder
8585
8686### Requirements
8787
88- * Python 3.5+ or Python 2.7 (it may work with other versions too)
88+ * Python 3.5+ or Python 2.7 (it may work with other versions too). Support for Python 2.7 is deprecated.
8989* Linux, Windows or macOS
9090* pytorch (>=1.0)
9191
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ USER=1adrianb
44mkdir ~ /conda-build
55conda config --set anaconda_upload no
66conda build conda/
7- anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER /home/travis/miniconda/envs/test-environment/conda-bld/noarch/face_alignment-1.0 .1-py_1.tar.bz2 --force
7+ anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER /home/travis/miniconda/envs/test-environment/conda-bld/noarch/face_alignment-1.1 .1-py_1.tar.bz2 --force
Original file line number Diff line number Diff line change 1- {% set version = "1.1.0 " %}
1+ {% set version = "1.1.1 " %}
22
33package :
44 name : face_alignment
Original file line number Diff line number Diff line change 22
33__author__ = """Adrian Bulat"""
445- __version__ = '1.1.0 '
5+ __version__ = '1.1.1 '
66
77from .api import FaceAlignment , LandmarksType , NetworkSize
Original file line number Diff line number Diff line change 11[bumpversion]
2- current_version = 1.1.0
2+ current_version = 1.1.1
33commit = True
44tag = True
55
You can’t perform that action at this time.
0 commit comments