This repository has been archived by the owner on Nov 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[run] | ||
omit = | ||
dec2/tests/* | ||
dec2/_version.py | ||
dec2/libpepper.py | ||
source = | ||
dec2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,7 @@ build | |
__pychache__ | ||
.cache | ||
.vagrant | ||
.coverage | ||
htmlcov | ||
|
||
cluster.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
language: python | ||
sudo: true | ||
|
||
python: | ||
- 2.7 | ||
|
||
services: | ||
- docker | ||
|
||
before_install: | ||
# Install conda | ||
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update conda | ||
|
||
# Install dependencies | ||
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION | ||
- source activate test-environment | ||
- pip install -r requirements.txt | ||
|
||
install: | ||
- python setup.py sdist | ||
- pip install dist/*.tar.gz | ||
|
||
script: | ||
- py.test --cov=dec2 dec2/tests --cov-report term-missing --cov-report html -s -vv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
instances: | ||
- ip: 127.0.0.1 | ||
keypair: ~/.vagrant.d/insecure_private_key | ||
port: 2222 | ||
username: vagrant | ||
- ip: 127.0.0.1 | ||
keypair: ~/.vagrant.d/insecure_private_key | ||
port: 2223 | ||
username: vagrant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,12 @@ boto3 | |
pyyaml | ||
salt-pepper | ||
cm-api | ||
|
||
# Test | ||
pytest | ||
coverage | ||
pytest-cov | ||
moto | ||
|
||
# Utils | ||
pylint |