-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (31 loc) · 840 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
25
26
27
28
29
30
31
32
# Filename: .travis.yml
---
language: python
python:
- "3.6"
os: linux
dist: xenial
# Install the codecov and sphinx pip dependencies
jobs:
include:
- stage: lint
name: "Pylint"
install:
- sudo apt-get install -qy pylint3
- sudo apt-get install -qy bc
script: set -o pipefail ; (pylint3 myeda --rcfile .pylintrc | tee .pylint.log) || (test $(bc -l <<< $(sed -re "s_.* ((-)?[0-9\.]+)/10.*_\1>3_;t;d" .pylint.log)) -eq 1)
- stage: cover
name: "Codecov"
install:
- pip install codecov
script: "make cover"
after_success:
- codecov
- stage: doc
name: "Sphinx"
install:
- pip install travis-sphinx
- pip install pyeda
script: "travis-sphinx build --source=doc/source"
after_success:
- travis-sphinx deploy