parent
c88e18d722
commit
50f8a51393
|
@ -10,7 +10,17 @@ before_script:
|
|||
- pip3 install -r requirements-dev.txt
|
||||
- npm install --user
|
||||
|
||||
test:
|
||||
after_script:
|
||||
- ./tests/assert-test-confinement.sh
|
||||
|
||||
pep8:
|
||||
script:
|
||||
- ./run-tests.sh
|
||||
- ./tests/assert-test-confinement.sh
|
||||
- ./tests/test-pep8.sh
|
||||
|
||||
pylint:
|
||||
script:
|
||||
- ./tests/test-pylint.sh
|
||||
|
||||
units:
|
||||
script:
|
||||
- ./tests/test-units.sh
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
pep8 --show-pep8 --max-line-length=100 --exclude=setup.py,.git,build,migrations . &&
|
||||
pylint --disable=C,R,fixme repomaker &&
|
||||
coverage3 run --source='repomaker' --omit="*/wsgi.py","repomaker/__init__.py" manage.py test &&
|
||||
coverage3 report &&
|
||||
./tests/test-pep8.sh &&
|
||||
./tests/test-pylint.sh &&
|
||||
./tests/test-units.sh &&
|
||||
echo "All tests ran successfully! \o/"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
pep8 --show-pep8 --max-line-length=100 --exclude=setup.py,.git,build,migrations .
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
pylint --disable=C,R,fixme repomaker
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
coverage3 run --source='repomaker' --omit="*/wsgi.py","repomaker/__init__.py" manage.py test &&
|
||||
coverage3 report
|
Loading…
Reference in New Issue