Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coolamqp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
coolamqp
Commits
0ef6d5d1
Commit
0ef6d5d1
authored
7 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
compiling moved outside
parent
01bbc10f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
build.sh
+1
-2
1 addition, 2 deletions
build.sh
compile_definitions.py
+0
-0
0 additions, 0 deletions
compile_definitions.py
tests/test_framing/test_compilation.py
+2
-2
2 additions, 2 deletions
tests/test_framing/test_compilation.py
with
4 additions
and
5 deletions
.travis.yml
+
1
−
1
View file @
0ef6d5d1
...
...
@@ -10,7 +10,7 @@ cache:
-
$HOME/build/smok-serwis/coolamqp/.eggs
-
$HOME/.cache
script
:
-
python
-m coolamqp.framing.compilation.
compile_definitions
-
python compile_definitions
.py
-
python setup.py nosetests
install
:
-
pip install -r requirements.txt
...
...
This diff is collapsed.
Click to expand it.
build.sh
+
1
−
2
View file @
0ef6d5d1
...
...
@@ -3,8 +3,7 @@
set
-x
set
-e
python
-m
coolamqp.framing.compilation.compile_definitions
rm
-f
coolamqp/framing/compilation/compile_definitions.py
python compile_definitions.py
python setup.py bdist bdist_wheel
if
[
$TRAVIS_BRANCH
==
"master"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
coolamqp/framing/compilation/
compile_definitions.py
→
compile_definitions.py
+
0
−
0
View file @
0ef6d5d1
File moved
This diff is collapsed.
Click to expand it.
tests/test_framing/test_compilation.py
+
2
−
2
View file @
0ef6d5d1
# coding=UTF-8
from
__future__
import
print_function
,
absolute_import
,
division
import
six
import
unittest
class
TestCompilation
(
unittest
.
TestCase
):
def
test_comp
(
self
):
from
coolamqp.framing.compilation.
compile_definitions
import
\
from
compile_definitions
import
\
compile_definitions
compile_definitions
(
xml_file
=
'
resources/amqp0-9-1.extended.xml
'
,
out_file
=
'
/tmp/definitions.py
'
)
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