Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ParmEd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ATB-Dependencies
ParmEd
Commits
dc613897
Commit
dc613897
authored
Jan 26, 2016
by
Jason Swails
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update MANIFEST.in file, and updates to hopefully get coverage/coveralls
working.
parent
af2ecb7f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
15 deletions
+13
-15
MANIFEST.in
MANIFEST.in
+1
-1
runtest.sh
devtools/travis-ci/runtest.sh
+12
-5
.coveragerc
test/.coveragerc
+0
-4
run_scripts.sh
test/run_scripts.sh
+0
-5
No files found.
MANIFEST.in
View file @
dc613897
graft examples
graft examples
graft src
graft src
graft
test
graft
parmed
devtools/travis-ci/runtest.sh
View file @
dc613897
#!/bin/sh
#!/bin/sh
set
-e
set
-e
do_coverage
()
{
coverage combine
.
coverage report
-m
}
echo
"Checking parmed source with pyflakes linter"
echo
"Checking parmed source with pyflakes linter"
if
[
"
$PYTHON_VERSION
"
=
"pypy"
]
;
then
if
[
"
$PYTHON_VERSION
"
=
"pypy"
]
;
then
export
PYENV_ROOT
=
"
${
HOME
}
/.pyenv"
export
PYENV_ROOT
=
"
${
HOME
}
/.pyenv"
...
@@ -12,14 +17,16 @@ cd test
...
@@ -12,14 +17,16 @@ cd test
echo
"Using nosetests...:"
echo
"Using nosetests...:"
./run_scripts.sh
./run_scripts.sh
if
[
"
$PYTHON_VERSION
"
=
"pypy"
]
;
then
if
[
"
$PYTHON_VERSION
"
=
"pypy"
]
;
then
# Disable coverage with py
flakes
, since it multiplies the time taken by 6 or
# Disable coverage with py
py
, since it multiplies the time taken by 6 or
# something ridiculous like that
# something ridiculous like that
nosetests
-vs
--with-timer
--timer-ok
=
5s
--timer-warning
=
12s
\
nosetests
-vs
--with-timer
--timer-ok
=
5s
--timer-warning
=
12s
\
--timer-filter
=
warning,error
.
--timer-filter
=
warning,error
.
else
else
nosetests
-vs
--with-timer
--timer-ok
=
5s
--timer-warning
=
12s
\
# Run nose under coverage, since that allows getting the full flexibility of
--timer-filter
=
warning,error
--with-coverage
\
# the coverage package without sacrificing nose functionality
--cover-package
=
parmed
.
coverage run
--source
=
parmed
--parallel-mode
-m
\
nose
-vs
--with-timer
--timer-ok
=
5s
--timer-warning
=
12s
\
--timer-filter
=
warning,error
.
fi
fi
test
-z
`
which coverage 2>/dev/null
`
||
coverage report
-m
test
-z
`
which coverage 2>/dev/null
`
||
do_coverage
test
-z
`
which coveralls
`
||
coveralls
test
-z
`
which coveralls
`
||
coveralls
test/.coveragerc
View file @
dc613897
...
@@ -8,7 +8,3 @@ omit =
...
@@ -8,7 +8,3 @@ omit =
*/parmed/utils/netcdf.py
*/parmed/utils/netcdf.py
*/parmed/tinker/*
*/parmed/tinker/*
*/parmed/rosetta/*
*/parmed/rosetta/*
[report]
show_missing = True
skip_covered = True
test/run_scripts.sh
View file @
dc613897
...
@@ -47,11 +47,6 @@ $run_cmd -m parmed.gromacs._cpp -i - < files/pptest1/pptest1.h \
...
@@ -47,11 +47,6 @@ $run_cmd -m parmed.gromacs._cpp -i - < files/pptest1/pptest1.h \
evaluate_test
$?
cpptest1
evaluate_test
$?
cpptest1
###### END TESTS ######
###### END TESTS ######
if
[
"
$has_coverage
"
=
"yes"
]
;
then
coverage combine .coverage
*
echo
"Coverage data combined. Run 'coverage report' to get the report"
fi
# Clean up if everything passed
# Clean up if everything passed
if
[
$failures
-eq
0
]
;
then
if
[
$failures
-eq
0
]
;
then
/bin/rm
-fr
files/writes
/bin/rm
-fr
files/writes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment