Skip to content

Commit

Permalink
Update: Base image for circleci
Browse files Browse the repository at this point in the history
Signed-off-by: Preetham Kamidi <kamidipreetham@gmail.com>
  • Loading branch information
preetham committed Jul 8, 2019
1 parent b9d4e6b commit 7c4b3c1
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 53 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ version: 2
jobs:
test:
docker:
- image: circleci/python:3.6.5
- image: preethamkamidi/verifytweet-base:latest
steps:
- checkout
- restore_cache:
key: v1-py-cache-{{ .Branch }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "requirements.txt" }}
- run:
name: Activate venv and install requirements
name: Setup venv and install requirements
command: |
python3 -m virtualenv ~/.venv
python3 -m venv ~/.venv
echo ". ~/.venv/bin/activate" >> $BASH_ENV
source $BASH_ENV
pip install -r requirements.txt
pip install -r requirements.txt -r requirements-dev.txt
- save_cache:
name: Save Python dependencies cache
key: v1-py-cache-{{ .Branch }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "requirements.txt" }}
Expand Down
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ pytest = "*"
twine = "*"
bandit = "*"
hypothesis = "*"
coverage = "*"
pytest-cov = "*"

[packages]
certifi = "*"
Expand Down
47 changes: 46 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 40 additions & 48 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,62 +1,54 @@
-i https://pypi.org/simple
-e git+https://github.com/twintproject/twint.git@ad27650fbc0bf8c3f2c78449088a5ede7239f53a#egg=twint
aiodns==2.0.0
aiohttp-socks==0.2.2
aiohttp==3.5.4
async-timeout==3.0.1
alabaster==0.7.12
atomicwrites==1.3.0
attrs==19.1.0
beautifulsoup4==4.7.1
cchardet==2.1.4
autopep8==1.4.4
babel==2.7.0
bandit==1.6.2
bleach==3.1.0
certifi==2019.6.16
cffi==1.12.3
chardet==3.0.4
click==7.0
cycler==0.10.0
decorator==4.4.0
dnspython==1.16.0
elasticsearch==7.0.2
eventlet==0.25.0
fake-useragent==0.1.11
flask-cors==3.0.8
flask==1.1.0
geographiclib==1.49
geopy==1.20.0
greenlet==0.4.15
gunicorn==19.9.0
idna-ssl==1.1.0 ; python_version < '3.7'
coverage==4.5.3
docutils==0.14
gitdb2==2.0.5
gitpython==2.1.11
hypothesis==4.26.4
idna==2.8
imageio==2.5.0
itsdangerous==1.1.0
imagesize==1.1.0
importlib-metadata==0.18
jinja2==2.10.1
joblib==0.13.2
kiwisolver==1.1.0
markupsafe==1.1.1
monotonic==1.5
multidict==4.5.2
networkx==2.3
nltk==3.4.4
numpy==1.16.4
pandas==0.24.2
pillow==6.1.0
pycares==3.0.0
more-itertools==7.1.0
packaging==19.0
pbr==5.4.0
pkginfo==1.5.0.1
pluggy==0.12.0
py==1.8.0
pycodestyle==2.5.0
pycparser==2.19
pygments==2.4.2
pyparsing==2.4.0
pysocks==1.7.0
pytesseract==0.2.7
python-dateutil==2.8.0
pytest-cov==2.7.1
pytest==5.0.1
pytz==2019.1
pywavelets==1.0.3
regex==2019.6.8
pyyaml==5.1.1
readme-renderer==24.0
requests-toolbelt==0.9.1
requests==2.22.0
schedule==0.6.0
scikit-learn==0.21.2
scipy==1.3.0
six==1.12.0
soupsieve==1.9.2
typing-extensions==3.7.4 ; python_version < '3.7'
typing==3.7.4 ; python_version < '3.7'
smmap2==2.0.5
snowballstemmer==1.9.0
sphinx==2.1.2
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
stevedore==1.30.1
tqdm==4.32.2
twine==1.13.0
urllib3==1.25.3
werkzeug==0.15.4
wcwidth==0.1.7
webencodings==0.5.1
yapf==0.27.0
yarl==1.3.0
zipp==0.5.2
Binary file modified tests/static/real-tweet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c4b3c1

Please sign in to comment.