Skip to content

Commit

Permalink
travis: add pylint and tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Oct 9, 2018
1 parent d954d26 commit bc498c0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
sudo: required
dist: trusty
language: generic
install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
language: python
python:
- '3.5'
install:
- pip install --quiet -r ci/requirements.txt
- git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
- git clone https://github.com/QubesOS/qubes-linux-utils ~/linux-utils
- git clone https://github.com/QubesOS/qubes-core-admin-client ~/core-admin-client
script: ~/qubes-builder/scripts/travis-build
env:
- DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
Expand All @@ -13,6 +19,10 @@ env:

jobs:
include:
- env: PYTHONPATH=~/core-admin-client:~/linux-utils/imgconverter
script:
- python3 -m pylint qubesappmenus
- python3 -m unittest -v qubesappmenus
- stage: deploy
env: DIST_DOM0=fc25 TESTS_ONLY=
script: ~/qubes-builder/scripts/travis-deploy
Expand Down
8 changes: 8 additions & 0 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# WARNING: those requirements are used only for travis-ci.org
# they SHOULD NOT be used under normal conditions; use system package manager
docutils
pylint
codecov
lxml
pyxdg
Pillow

0 comments on commit bc498c0

Please sign in to comment.