Skip to content

Commit b5e3021

Browse files
committed
✨ intial prototype
0 parents  commit b5e3021

21 files changed

+1008
-0
lines changed

.gitignore

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.

.moban.d/CUSTOM_README.rst.jj2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends 'README.rst.jj2' %}

.moban.d/custom_setup.py.jj2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% extends "setup.py.jj2" %}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{% extends "tests/requirements.txt.jj2" %}
2+
3+
{%block extras %}
4+
{%endblock%}

.moban.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
requires:
2+
- pypi-mobans-pkg==0.0.2
3+
configuration:
4+
template_dir:
5+
- "pypi-mobans-pkg:templates"
6+
- ".moban.d"
7+
configuration: snapshot-selenium.yml
8+
targets:
9+
- README.rst: CUSTOM_README.rst.jj2
10+
- setup.py: custom_setup.py.jj2
11+
- requirements.txt: requirements.txt.jj2
12+
- "tests/requirements.txt": "tests/custom_requirements.txt.jj2"
13+
- "docs/source/conf.py": "docs/conf.py_t"
14+
- test.sh: test.script.jj2
15+
- "snapshot_selenium/_version.py": "_version.py.jj2"
16+
- .gitignore: gitignore.jj2
17+
- .travis.yml: travis.yml.jj2
18+
- Pipfile: Pipfile.jj2

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
sudo: false
2+
language: python
3+
notifications:
4+
email: false
5+
python:
6+
- pypy-5.3.1
7+
- 3.7-dev
8+
- 3.6
9+
- 3.5
10+
- 3.4
11+
- 2.7
12+
before_install:
13+
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
14+
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
15+
mv min_requirements.txt requirements.txt ;
16+
fi
17+
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
18+
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
19+
- pip install -r tests/requirements.txt
20+
script:
21+
- make test
22+
after_success:
23+
codecov

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Change log
2+
===========

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.rst
2+
include CHANGELOG.rst

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
all: test
2+
3+
test:
4+
bash test.sh
5+
6+
document:
7+
bash document.sh

Pipfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[[source]]
2+
url = 'https://pypi.python.org/simple'
3+
verify_ssl = true
4+
name = 'pypi'
5+
6+
[requires]
7+
python_version= '3.6'
8+
9+
[packages]

0 commit comments

Comments
 (0)