File tree Expand file tree Collapse file tree 9 files changed +1654
-891
lines changed Expand file tree Collapse file tree 9 files changed +1654
-891
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,19 @@ matrix:
2929 finish_fast : true
3030 allow_failures :
3131 - env : TMUX_VERSION=master
32+ - python : pypy3
3233cache :
3334 - pip
3435 - apt
3536 - directories :
3637 - ~/source
3738 - ~/build
39+ before_install :
40+ - pip install poetry
41+ - poetry --version
42+ - poetry version
3843install :
39- - pip install -e .
40- - pip install -r requirements/test.txt
41- - pip install -r requirements/dev.txt
44+ - poetry install -v
4245before_script :
4346 - mkdir -p ~/source
4447 - mkdir -p ~/build/tmux-$TMUX_VERSION
@@ -51,7 +54,7 @@ before_script:
5154 - cd $TRAVIS_BUILD_DIR
5255 - tmux -V
5356script :
54- - py.test --cov
57+ - poetry run py.test --cov
5558 - make flake8
5659addons :
5760 apt :
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ current
1111- Travis: Only run on master and PRs one time
1212- Travis: Add caching for tmux builds
1313- Travis: Test 2.9 and 3.0a
14+ - :issue: `613 `: Move from Pipenv to Poetry
1415
15161.5.4 <2019-11-06>
1617------------------
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ entr_warn:
99 @echo " ----------------------------------------------------------"
1010
1111isort :
12- isort ` ${PY_FILES} `
12+ poetry run isort ` ${PY_FILES} `
1313
1414black :
15- black ` ${PY_FILES} ` --skip-string-normalization
15+ poetry run black ` ${PY_FILES} ` --skip-string-normalization
1616
1717test :
18- py.test $(test )
18+ poetry run py.test $(test )
1919
2020watch_test :
2121 if command -v entr > /dev/null; then ${PY_FILES} | entr -c $( MAKE) test ; else $( MAKE) test entr_warn; fi
@@ -27,14 +27,7 @@ watch_docs:
2727 cd doc && $(MAKE ) watch_docs
2828
2929flake8 :
30- flake8 tmuxp tests
30+ poetry run flake8 tmuxp tests
3131
3232watch_flake8 :
3333 if command -v entr > /dev/null; then ${PY_FILES} | entr -c $( MAKE) flake8; else $( MAKE) flake8 entr_warn; fi
34-
35- sync_pipfile :
36- pipenv install --skip-lock --dev -r requirements/doc.txt && \
37- pipenv install --skip-lock --dev -r requirements/dev.txt && \
38- pipenv install --skip-lock --dev -r requirements/test.txt && \
39- pipenv install --skip-lock --dev -e . && \
40- pipenv install --skip-lock -r requirements/base.txt
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments