Merge pull request #3796 from davemarchevsky/davemarchevsky_klockstat_fixups
[platform/upstream/bcc.git] / .travis.yml
1 language: python
2 matrix:
3   include:
4     - name: "Check helpers on Python 2.7"
5       python: 2.7
6       script: ./scripts/check-helpers.sh
7     - name: "Python style check on Python 2.7"
8       python: 2.7
9       script: ./scripts/py-style-check.sh
10     - name: "flake8 lint on Python 2.7"      
11       python: 2.7
12       script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
13     - name: "flake8 lint on Python 3.7"
14       dist: xenial  # required for Python >= 3.7
15       python: 3.7
16       script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
17   allow_failures:
18     - name: "Check helpers on Python 2.7"
19 before_install: pip install --upgrade pip
20 install: pip install flake8