forked from bincyber/pkictl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (42 loc) · 770 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
language: python
python: "3.6"
sudo: required
cache:
directories:
- $HOME/.cache/pip
- $HOME/.local/share/virtualenvs
notifications:
email: false
services:
- docker
stages:
- lint
- scan
- test
- build
before_install:
- sudo apt-get update -qq && apt-get -y --no-install-recommends install make
- sudo pip install pipenv --no-cache-dir --disable-pip-version-check
install:
- make dev
jobs:
include:
- stage: lint
script:
- pipenv shell
- make lint
- stage: scan
script:
- pipenv shell
- make scan
- stage: test
script:
- pipenv shell
- make test
- stage: build
script:
- pipenv shell
- make build
after_success:
coveralls