Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scapy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
2ed47696
Commit
2ed47696
authored
Jan 5, 2017
by
Guillaume Valadon
Browse files
Options
Downloads
Patches
Plain Diff
codecov appveyor support
parent
ea0a81b7
No related branches found
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
appveyor.yml
+10
-4
10 additions, 4 deletions
appveyor.yml
with
10 additions
and
4 deletions
appveyor.yml
+
10
−
4
View file @
2ed47696
...
@@ -19,7 +19,7 @@ install:
...
@@ -19,7 +19,7 @@ install:
-
refreshenv
-
refreshenv
# Install Python modules
# Install Python modules
-
"
%PYTHON%
\\
python
-m
pip
install
ecdsa
pycrypto"
-
"
%PYTHON%
\\
python
-m
pip
install
ecdsa
pycrypto
coverage
"
test_script
:
test_script
:
# Set environment variables
# Set environment variables
...
@@ -27,12 +27,18 @@ test_script:
...
@@ -27,12 +27,18 @@ test_script:
-
set PATH="%APPVEYOR_BUILD_FOLDER%;C:\Program Files\Wireshark\;%PATH%"
-
set PATH="%APPVEYOR_BUILD_FOLDER%;C:\Program Files\Wireshark\;%PATH%"
# Main unit tests
# Main unit tests
-
"
%PYTHON%
\\
python
bin
\\
UTscapy
-f
text
-t
test
\\
regression.uts
-F
-K
automaton
-K
mock_read_routes6_bsd
||
exit
/b
42"
-
"
%PYTHON%
\\
python
-m
coverage
run
-a
bin
\\
UTscapy
-f
text
-t
test
\\
regression.uts
-F
-K
automaton
-K
mock_read_routes6_bsd
||
exit
/b
42"
-
'
del
test\regression.uts'
-
'
del
test\regression.uts'
# Secondary unit tests
# Secondary unit tests
-
'
del
test\bpf.uts'
# Don't bother with BPF regression tests
-
'
del
test\bpf.uts'
# Don't bother with BPF regression tests
-
"
for
%%t
in
(test
\\
*.uts)
do
(%PYTHON%
\\
python
bin
\\
UTscapy
-f
text
-t
%%t
-F
-K
combined_modes
||
exit
/b
42)"
-
"
for
%%t
in
(test
\\
*.uts)
do
(%PYTHON%
\\
python
-m
coverage
run
-a
bin
\\
UTscapy
-f
text
-t
%%t
-F
-K
combined_modes
||
exit
/b
42)"
# Contrib unit tests
# Contrib unit tests
-
"
for
%%t
in
(scapy
\\
contrib
\\
*.uts)
do
(%PYTHON%
\\
python
bin
\\
UTscapy
-f
text
-t
%%t
-F
-P
\"
load_contrib(
\
'%%~nt
\
')
\"
||
exit
/b
42)"
-
"
for
%%t
in
(scapy
\\
contrib
\\
*.uts)
do
(%PYTHON%
\\
python
-m
coverage
run
-a
bin
\\
UTscapy
-f
text
-t
%%t
-F
-P
\"
load_contrib(
\
'%%~nt
\
')
\"
||
exit
/b
42)"
after_test
:
# Install & run codecov
-
"
%PYTHON%
\\
python
-m
pip
install
codecov"
-
"
SET
PATH=%PYTHON%
\\
Scripts
\\
;%PATH%"
-
codecov
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment