mirror of
https://github.com/getsops/sops.git
synced 2026-02-05 21:45:26 +01:00
Add tox and travis-ci matrix
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
*.pyc
|
||||
.cache/
|
||||
__pycache__/
|
||||
*.egg-info/
|
||||
*.egg
|
||||
.tox/
|
||||
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
language: python
|
||||
python: 2.7
|
||||
env:
|
||||
- TOX_ENV=py26
|
||||
- TOX_ENV=py27
|
||||
- TOX_ENV=py34
|
||||
- TOX_ENV=flake8
|
||||
install: pip install tox
|
||||
script: tox -e $TOX_ENV
|
||||
11
Makefile
11
Makefile
@@ -10,15 +10,16 @@ requirements:
|
||||
dev-requirements:
|
||||
sudo pip install -U -r dev-requirements.txt
|
||||
|
||||
tests:
|
||||
tests: install dev-requirements
|
||||
py.test tests
|
||||
|
||||
test: tests
|
||||
|
||||
pypi:
|
||||
python setup.py sdist check upload --sign
|
||||
|
||||
clean:
|
||||
rm -rf *pyc
|
||||
rm -rf build
|
||||
rm -rf __pycache__
|
||||
rm -rf dist
|
||||
rm -rf *.pyc sops/*.pyc
|
||||
rm -rf __pycache__ sops/__pycache__
|
||||
rm -rf build/ dist/
|
||||
rm -fr .tox/
|
||||
|
||||
0
sops/__init__.py
Executable file → Normal file
0
sops/__init__.py
Executable file → Normal file
Reference in New Issue
Block a user