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:
29
29
finish_fast : true
30
30
allow_failures :
31
31
- env : TMUX_VERSION=master
32
+ - python : pypy3
32
33
cache :
33
34
- pip
34
35
- apt
35
36
- directories :
36
37
- ~/source
37
38
- ~/build
39
+ before_install :
40
+ - pip install poetry
41
+ - poetry --version
42
+ - poetry version
38
43
install :
39
- - pip install -e .
40
- - pip install -r requirements/test.txt
41
- - pip install -r requirements/dev.txt
44
+ - poetry install -v
42
45
before_script :
43
46
- mkdir -p ~/source
44
47
- mkdir -p ~/build/tmux-$TMUX_VERSION
@@ -51,7 +54,7 @@ before_script:
51
54
- cd $TRAVIS_BUILD_DIR
52
55
- tmux -V
53
56
script :
54
- - py.test --cov
57
+ - poetry run py.test --cov
55
58
- make flake8
56
59
addons :
57
60
apt :
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ current
11
11
- Travis: Only run on master and PRs one time
12
12
- Travis: Add caching for tmux builds
13
13
- Travis: Test 2.9 and 3.0a
14
+ - :issue: `613 `: Move from Pipenv to Poetry
14
15
15
16
1.5.4 <2019-11-06>
16
17
------------------
Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ entr_warn:
9
9
@echo " ----------------------------------------------------------"
10
10
11
11
isort :
12
- isort ` ${PY_FILES} `
12
+ poetry run isort ` ${PY_FILES} `
13
13
14
14
black :
15
- black ` ${PY_FILES} ` --skip-string-normalization
15
+ poetry run black ` ${PY_FILES} ` --skip-string-normalization
16
16
17
17
test :
18
- py.test $(test )
18
+ poetry run py.test $(test )
19
19
20
20
watch_test :
21
21
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:
27
27
cd doc && $(MAKE ) watch_docs
28
28
29
29
flake8 :
30
- flake8 tmuxp tests
30
+ poetry run flake8 tmuxp tests
31
31
32
32
watch_flake8 :
33
33
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