forked from LeastAuthority/kubetop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 891 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
33
34
35
#
# This is the Travis-CI configuration.
#
language: "python"
# This is how you get container-based environments on Travis-CI. And
# container-based environments are how you get fast test runs.
sudo: false
# Only build master; for "push" builds, this is when the branch pushed
# to is master, for "pr" builds, this is when the merge base of the PR
# is master.
branches:
only:
- "master"
cache:
directories:
# Cache the pip download cache across runs to avoid having to
# repeatedly download packages over the network.
- "$HOME/.cache/pip"
install:
- "pip install --upgrade pip setuptools wheel coverage codecov pyflakes"
- "pip install .[dev]"
script:
- "pyflakes src"
- "coverage run --rcfile=${PWD}/.coveragerc $(type -p trial) kubetop"
# See .coveragerc for an explanation of this step.
- "coverage combine .coverage"
after_success:
- "codecov"