Skip to content

Commit 460a60f

Browse files
committed
Change tests to a module in vaspy
1 parent 4bcc1c4 commit 460a60f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+44
-108
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ install:
3131

3232
# command to run tests
3333
script:
34-
- cd tests
35-
- coverage run vaspy_test.py
36-
37-
after_success:
38-
- cd tests
34+
- coverage run -m vaspy.tests.test_all
3935
- codecov
4036

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@
9595
# long_description += line
9696

9797
name = 'vaspy'
98-
packages = [
99-
'vaspy',
100-
]
10198
platforms = ['linux']
10299
url = 'https://github.com/PytLab/VASPy'
103100
download_url = ''
@@ -111,6 +108,8 @@
111108
'Programming Language :: Python :: 3.5',
112109
]
113110

111+
test_suite = 'vaspy.tests.test_all'
112+
114113
setup(author=author,
115114
author_email=author_email,
116115
description=description,
@@ -124,6 +123,6 @@
124123
url=url,
125124
download_url=download_url,
126125
version=version,
127-
# test_suite="tests",
126+
test_suite=test_suite,
128127
classifiers=classifiers)
129128

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)