Show More
@@ -0,0 +1,43 b'' | |||||
|
1 | language: python | |||
|
2 | ||||
|
3 | dist: xenial | |||
|
4 | ||||
|
5 | notifications: | |||
|
6 | on_success: change | |||
|
7 | on_failure: always | |||
|
8 | ||||
|
9 | matrix: | |||
|
10 | include: | |||
|
11 | - python: 3.5 | |||
|
12 | env: TOXENV=py35 | |||
|
13 | - python: 3.6 | |||
|
14 | env: TOXENV=py36 | |||
|
15 | addons: | |||
|
16 | postgresql: "9.6" | |||
|
17 | - python: 3.6 | |||
|
18 | env: TOXENV=py36 PGPORT=5432 | |||
|
19 | addons: | |||
|
20 | postgresql: "10" | |||
|
21 | apt: | |||
|
22 | packages: | |||
|
23 | - postgresql-10 | |||
|
24 | - postgresql-client-10 | |||
|
25 | ||||
|
26 | install: | |||
|
27 | - travis_retry pip install -U setuptools pip tox | |||
|
28 | ||||
|
29 | script: | |||
|
30 | - travis_retry tox | |||
|
31 | ||||
|
32 | services: | |||
|
33 | - postgresql | |||
|
34 | - elasticsearch | |||
|
35 | - redis | |||
|
36 | ||||
|
37 | before_script: | |||
|
38 | - psql -c "create user test with encrypted password 'test';" -U postgres | |||
|
39 | - psql -c 'create database appenlight_test owner test;' -U postgres | |||
|
40 | ||||
|
41 | after_success: | |||
|
42 | - pip install coveralls | |||
|
43 | - coveralls |
@@ -0,0 +1,16 b'' | |||||
|
1 | .. :changelog: | |||
|
2 | ||||
|
3 | History | |||
|
4 | ------- | |||
|
5 | ||||
|
6 | 0.9.1 (2016-XX-XX) | |||
|
7 | ++++++++++++++++++ | |||
|
8 | ||||
|
9 | * Added suppot for "NOT' operator in rule engine | |||
|
10 | * Various bugfixes | |||
|
11 | ||||
|
12 | ||||
|
13 | 0.9.0 (2016-06-29) | |||
|
14 | ++++++++++++++++++ | |||
|
15 | ||||
|
16 | * first tagged public release |
@@ -0,0 +1,15 b'' | |||||
|
1 | [tox] | |||
|
2 | envlist = py35,py36 | |||
|
3 | setupdir = backend | |||
|
4 | ||||
|
5 | [testenv] | |||
|
6 | extras = dev | |||
|
7 | passenv = DB | |||
|
8 | DB_STRING | |||
|
9 | ||||
|
10 | commands= | |||
|
11 | pip install -U pip setuptools wheel | |||
|
12 | pip install -r backend/requirements.txt | |||
|
13 | pip install -e backend | |||
|
14 | appenlight-reindex-elasticsearch -c testing.ini -t all | |||
|
15 | pytest backend/src/appenlight/tests |
@@ -1,7 +1,7 b'' | |||||
1 | [bumpversion] |
|
1 | [bumpversion] | |
2 |
current_version = 1.1. |
|
2 | current_version = 1.1.1 | |
3 | message = release: Bump version {current_version} to {new_version} |
|
3 | message = release: Bump version {current_version} to {new_version} | |
4 | tag_name = {new_version} |
|
4 | tag_name = {new_version} | |
5 |
|
5 | |||
6 |
[bumpversion:file:backend/ |
|
6 | [bumpversion:file:backend/VERSION] | |
7 |
|
7 |
@@ -1,2 +1,2 b'' | |||||
1 | include *.txt *.ini *.cfg *.rst *.md |
|
1 | include *.txt *.ini *.cfg *.rst *.md VERSION | |
2 | recursive-include appenlight *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml *.jinja2 *.rst *.otf *.ttf *.svg *.woff *.eot |
|
2 | recursive-include appenlight *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml *.jinja2 *.rst *.otf *.ttf *.svg *.woff *.eot |
1 | NO CONTENT: file renamed from backend/src/appenlight/VERSION to backend/VERSION |
|
NO CONTENT: file renamed from backend/src/appenlight/VERSION to backend/VERSION |
@@ -1,11 +1,10 b'' | |||||
1 | import os |
|
1 | import os | |
2 | import sys |
|
|||
3 | import re |
|
2 | import re | |
4 |
|
3 | |||
5 | from setuptools import setup, find_packages |
|
4 | from setuptools import setup, find_packages | |
6 |
|
5 | |||
7 | here = os.path.abspath(os.path.dirname(__file__)) |
|
6 | here = os.path.abspath(os.path.dirname(__file__)) | |
8 |
README = open(os.path.join(here, ' |
|
7 | README = open(os.path.join(here, 'README.rst')).read() | |
9 | CHANGES = open(os.path.join(here, 'CHANGELOG.rst')).read() |
|
8 | CHANGES = open(os.path.join(here, 'CHANGELOG.rst')).read() | |
10 |
|
9 | |||
11 | REQUIREMENTS = open(os.path.join(here, 'requirements.txt')).readlines() |
|
10 | REQUIREMENTS = open(os.path.join(here, 'requirements.txt')).readlines() | |
@@ -29,10 +28,11 b' def _get_meta_var(name, data, callback_handler=None):' | |||||
29 |
|
28 | |||
30 | return callback_handler(eval(matches.groups()[0])) |
|
29 | return callback_handler(eval(matches.groups()[0])) | |
31 |
|
30 | |||
|
31 | ||||
32 | with open(os.path.join(here, 'src', 'appenlight', '__init__.py'), 'r') as _meta: |
|
32 | with open(os.path.join(here, 'src', 'appenlight', '__init__.py'), 'r') as _meta: | |
33 | _metadata = _meta.read() |
|
33 | _metadata = _meta.read() | |
34 |
|
34 | |||
35 |
with open(os.path.join( |
|
35 | with open(os.path.join(here, 'VERSION'), 'r') as _meta_version: | |
36 | __version__ = _meta_version.read().strip() |
|
36 | __version__ = _meta_version.read().strip() | |
37 |
|
37 | |||
38 | __license__ = _get_meta_var('__license__', _metadata) |
|
38 | __license__ = _get_meta_var('__license__', _metadata) |
General Comments 0
You need to be logged in to leave comments.
Login now