forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 709 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: generic
matrix:
include:
- name: "generic tests"
- name: "flake8 lint on Python 2.7"
language: python
python: 2.7
install: pip install flake8
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: "flake8 lint on Python 3.7"
dist: xenial # required for Python >= 3.7
language: python
python: 3.7
install: pip install flake8
script: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
allow_failures:
- python: 3.7
install:
- sudo apt-get install -y python-pip
- sudo pip install pep8
script:
- set -euo pipefail
- ./scripts/check-helpers.sh
- ./scripts/py-style-check.sh