forked from HypothesisWorks/hypothesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (47 loc) · 888 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
51
52
53
54
55
56
language: python
python: "3.6"
os:
- linux
dist: xenial
branches:
only:
- "master"
cache:
apt: true
directories:
- $HOME/.cache/pip
- $HOME/wheelhouse
- $HOME/.local
- vendor/bundle
env:
global:
- BUILD_RUNTIMES=$HOME/.runtimes
- FORMAT_ALL=true
- PYTHONDONTWRITEBYTECODE=x
jobs:
fast_finish: true
include:
# Prechecks that we want to run to make sure the deploy is good.
- stage: precheck
env: TASK=check-whole-repo-tests
- env: TASK=lint
- env: TASK=check-py36
- stage: deploy
env: TASK=deploy
script:
- ./build.sh
stages:
- precheck
- name: deploy
if: type = push
notifications:
email:
recipients:
- david@drmaciver.com
on_success: never
on_failure: change
addons:
apt:
packages:
- libgmp-dev
- shellcheck