Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issues in my PR. #52

Merged
merged 1 commit into from
Feb 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ env:
- ASTTOKENS_SLOW_TESTS=1
- COVERALLS_PARALLEL=true

before_install:
- pip install --upgrade setuptools>=44 wheel setuptools_scm[toml]>=3.4.3 pep517
- pip install --upgrade coveralls

install:
- pip install coveralls
- pip install .[test]
#- python3 -m pep517.build . # replace the following command with this one when you drop python 2
- python ./setup.py bdist_wheel
- export WHLNAME=./dist/asttokens-0.CI-py2.py3-none-any.whl
- mv ./dist/*.whl $WHLNAME
- pip install --upgrade --pre "$WHLNAME[test]"

script:
- travis_wait 30 coverage run --include='asttokens/*' -m pytest
- travis_wait 30 coverage run --branch --include='asttokens/*' -m pytest --junitxml=./rspec.xml
- coverage report -m

after_success:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=41", "wheel", "setuptools_scm[toml]>=3.4.3"]
requires = ["setuptools>=44", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers =
[options]
packages = asttokens
install_requires = six
setup_requires = setuptools>=44; wheel; setuptools_scm[toml]>=3.4.3

[options.extras_require]
test = astroid; pytest
Expand Down