-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbitbucket-pipelines.yml
38 lines (37 loc) · 1.2 KB
/
bitbucket-pipelines.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
# This is a sample build configuration for Python.
# Check our guides at https://confluence.atlassian.com/x/x4UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: python:3.5.1
pipelines:
default:
- step:
caches:
- pip
script: # Modify the commands below to build your repository.
# - python3 -m venv .env && source .env/bin/activate
# install deps
- apt-get update && apt-get install -y graphviz
- pip install -U pip
- pip install -r devel-requirements.txt
- tox -e py35
branches:
master:
- step:
script:
# install deps
- apt-get update && apt-get install -y graphviz
- pip install -U pip
- pip install -r devel-requirements.txt
- tox -e py35
feature/*:
- step:
caches:
- pip
script:
# install deps
- apt-get update && apt-get install -y graphviz
- pip install -U pip
- pip install -r devel-requirements.txt
- tox -e check,py35