-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (42 loc) · 933 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
matrix:
include:
- python: 3.6
- python: 3.7
dist: xenial
# To install packages which are not on pip
#before_install:
# - sudo apt-get install ...
#addons:
# apt:
# update: true
# command to install dependencies
install:
- pip install -r tests/test_requirements.txt
- pip install -e .
# commands to run tests
script:
- flake8
- pylint */*.py
#jobs:
# include:
# - stage: "Tests" # naming the Tests stage
# name: "Linting Tests" # names the first Tests stage job
# script: flake8
# script: pylint
# for later stages
# - script: ./integration-tests
# name: "Integration Tests" # names the second Tests stage job
# - stage: deploy
# name: "Deploy to GCP"
# script: ./deploy
# blocklist
#branches:
# except:
# - branch_name1
# - branch_name2
# safelist
#branches:
# only:
# - branch_name1
# - branch_name2