This repository was archived by the owner on Jun 16, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +36
-5
lines changed
Expand file tree Collapse file tree 4 files changed +36
-5
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ workflows :
3+ version : 2
4+ test :
5+ jobs :
6+ - Python-3.5
7+ - Python-3.6
8+ - Python-3.7
9+ jobs :
10+ Python-3.7 : &template
11+ docker :
12+ - image : circleci/python:3.7-stretch
13+
14+ working_directory : ~/repo
15+ steps :
16+ - checkout
17+ - run :
18+ name : run tests
19+ command : |
20+ make tests
21+
22+ Python-3.6 :
23+ << : *template
24+ docker :
25+ - image : circleci/python:3.6-jessie
26+
27+ Python-3.5 :
28+ << : *template
29+ docker :
30+ - image : circleci/python:3.5-jessie
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 language : generic
1515
1616before_install :
17- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew upgrade python && pip3 install --upgrade pip setuptools wheel; fi
17+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 install --upgrade pip setuptools wheel; fi
1818
1919install :
2020 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo pip3 install -U -e .[dev]; else pip install -U -e .[dev]; fi
21- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 freeze; else pip freeze; fi
21+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then python3 --version && pip3 freeze; else python --version && pip freeze; fi
2222
2323script :
2424 - coverage run --branch --source termtosvg -m unittest -v
Original file line number Diff line number Diff line change 11.PHONY : usage tests venv_dev build deploy_test deploy_prod static man
22
3+
34VENV_PATH =.venv
45VENV_ACTIVATE =. $(VENV_PATH ) /bin/activate
56EXAMPLES_DIR =examples
@@ -30,14 +31,14 @@ deploy_prod: build
3031 $(VENV_ACTIVATE ) && \
3132 twine upload -r pypi dist/*
3233
33- tests : venv_dev man
34+ tests : venv_dev
3435 $(VENV_ACTIVATE ) && \
3536 pip freeze && \
3637 coverage run --branch --source termtosvg -m unittest -v && \
3738 coverage report && \
3839 coverage html
3940 -$(VENV_ACTIVATE ) && \
40- pylint --extension-pkg-whitelist lxml termtosvg/* .py
41+ pylint -j 0 - -extension-pkg-whitelist lxml termtosvg/* .py
4142
4243venv_dev : setup.py
4344 (test -d $( VENV_PATH) || python -m venv $( VENV_PATH) )
Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://travis-ci.org/nbedos/termtosvg.svg?branch=master )] ( https://travis-ci.org/nbedos/termtosvg )
1+ [ ![ Build Status] ( https://travis-ci.org/nbedos/termtosvg.svg?branch=master )] ( https://travis-ci.org/nbedos/termtosvg ) [ ![ CircleCI ] ( https://circleci.com/gh/nbedos/termtosvg.svg?style=svg )] ( https://circleci.com/gh/nbedos/termtosvg )
22
33# termtosvg
44termtosvg is a Unix terminal recorder written in Python that renders your command
You can’t perform that action at this time.
0 commit comments