Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
Template
Commits
1f42a863
Commit
1f42a863
authored
8 years ago
by
nimrod
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into feature/toml
parents
03c86c47
afbc5501
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+5
-2
5 additions, 2 deletions
.travis.yml
README.rst
+12
-7
12 additions, 7 deletions
README.rst
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
18 additions
and
10 deletions
.travis.yml
+
5
−
2
View file @
1f42a863
---
---
language
:
python
language
:
python
python
:
[
"
2.7"
,
"
3.3"
,
"
3.4"
,
"
3.5"
]
python
:
[
"
2.7"
,
"
3.2"
,
"
3.3"
,
"
3.4"
,
"
3.5"
]
dist
:
trusty
dist
:
trusty
sudo
:
false
sudo
:
false
cache
:
cache
:
-
pip
-
pip
matrix
:
allow_failure
:
-
python
:
"
3.2"
install
:
install
:
-
pip install tox-travis
-
pip install tox-travis
...
...
This diff is collapsed.
Click to expand it.
README.rst
+
12
−
7
View file @
1f42a863
...
@@ -53,15 +53,16 @@ Example usage can be seen in :code:`tests.sh`.
...
@@ -53,15 +53,16 @@ Example usage can be seen in :code:`tests.sh`.
Testing
Testing
-------
-------
Local t
ests require
both a
Python 2, Python 3
and Tox installed and ca
n b
e
run
T
ests require Python 2
.7
, Python 3
.2 or later and Tox and are ru
n b
y
run
ning
by running
:code:`tox`. Al
ternatively
, Travis CI is used to test on multiple
:code:`tox`. Al
so
, Travis CI is used to test on multiple
Python versions for
versions of Python for
every push.
every push.
Release
Release
-------
-------
Currently releases are done locally by running :code:`tox -e release` and
Releases require Python 2.7 or Python 3.2 or later and Tox. To release a new
require Python and Tox installed. Releases with Travis CI are coming.
version bump the version in the :code:`VERSION` file and run :code:`tox -e
release`.
License
License
-------
-------
...
@@ -80,7 +81,11 @@ at: https://www.shore.co.il/git/.
...
@@ -80,7 +81,11 @@ at: https://www.shore.co.il/git/.
TODO
TODO
----
----
- Add unit tests of filters using doctest.
- Fix combining dictionaries test.
- Fix combining dictionaries test.
- Fix Travis CI test on Python 3.2 (https://travis-ci.org/adarnimrod/template/jobs/187388235).
- Fix Travis CI test on Python 3.2 (https://travis-ci.org/adarnimrod/template/jobs/187388235).
- Release on tagged commits to PyPI in Travis CI.
- Release on tagged commits to PyPI in Travis CI
- TOML support?
(https://docs.travis-ci.com/user/deployment/pypi/ and
https://docs.travis-ci.com/user/encryption-keys/).
- Add JMESPath support.
- Add TOML support?
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
1f42a863
...
@@ -31,6 +31,6 @@ deps =
...
@@ -31,6 +31,6 @@ deps =
twine
twine
wheel
wheel
commands
=
commands
=
sh
-c
'git
tag
-f
"$(cat
VERSION)"'
sh
-c
'git
tag
"$(cat
VERSION)"
&&
git
push
--tags
'
python
setup.py
bdist_wheel
python
setup.py
bdist_wheel
twine
upload
--skip-existing
dist/*.whl
twine
upload
--skip-existing
dist/*.whl
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