Skip to content

Commit 1ffdc5d

Browse files
committed
Add tests to sdist
1 parent 3cbdd3d commit 1ffdc5d

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ install:
1515
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
1616

1717
# Installing Poetry
18-
- "curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python"
18+
- "curl -fsS -o get-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py"
19+
- "python get-poetry.py --preview -y"
1920
- "SET PATH=%USERPROFILE%\\.poetry\\bin;%PATH%"
2021

2122
# Ensure latest pip in Poetry's virtualenv

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ cache:
1111
- $HOME/.cache/pre-commit
1212

1313
install:
14-
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
14+
- curl -fsS -o get-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
15+
- python get-poetry.py --preview -y
1516
- source $HOME/.poetry/env
1617
- poetry install -v
1718

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ readme = "README.md"
1010
homepage = "https://github.com/sdispater/tomlkit"
1111
repository = "https://github.com/sdispater/tomlkit"
1212

13+
packages = [
14+
{include = "tomlkit"},
15+
{include = "tests", format = "sdist"}
16+
]
17+
1318
[tool.poetry.dependencies]
1419
python = "~2.7 || ^3.4"
1520

0 commit comments

Comments
 (0)