forked from tern-tools/tern
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtravis.yml
More file actions
31 lines (23 loc) · 721 Bytes
/
travis.yml
File metadata and controls
31 lines (23 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
# SPDX-License-Identifier: BSD-2-Clause
dist: xenial
sudo: true
language: python
python:
- "3.6"
services:
- docker
before_install:
- sudo apt-get install -y attr
install:
- pip install .[dev]
matrix:
include:
- name: "Code Style"
script: c=`python ci/evaluate_docs.py`; if [ -z $c ]; then echo "No .py files to lint"; else echo $c | xargs prospector; fi
- name: "Security Linting"
script: c=`python ci/evaluate_docs.py`; if [ -z $c ]; then echo "No .py files to lint"; else echo $c | xargs bandit; fi
- name: "Commit Message"
script: python ci/test_commit_message.py
- name: "Tests"
script: python ci/test_files_touched.py