forked from HypothesisWorks/hypothesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
102 lines (87 loc) · 1.92 KB
/
.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
language: c
sudo: false
env: PYTHONDONTWRITEBYTECODE=x
os:
- linux
branches:
only:
- "master"
cache:
apt: true
directories:
- $HOME/.cargo
- $HOME/.rustup
- $HOME/.runtimes
- $HOME/.venv
- $HOME/.gem
- $HOME/.cache/pip
- $HOME/wheelhouse
- $HOME/.stack
- $HOME/.local
- vendor/bundle
env:
global:
- BUILD_RUNTIMES=$HOME/.runtimes
- FORMAT_ALL=true
jobs:
include:
# Prechecks that we want to run first.
- stage: precheck
env: TASK=check-whole-repo-tests
- env: TASK=lint
- env: TASK=lint-ruby
- env: TASK=check-format
- env: TASK=check-rust-tests
- stage: main
env: TASK=check-coverage
- env: TASK=check-pypy
- env: TASK=check-pypy3
- env: TASK=check-py36
- env: TASK=check-py27
- env: TASK=check-ruby-tests
- env: TASK=check-quality
- env: TASK=check-py34
- env: TASK=check-py35
- env: TASK=check-py37
sudo: required
dist: xenial
# Less important tests that will probably
# pass whenever the above do but are still
# worth testing.
- stage: extras
env: TASK=check-unicode
- env: TASK=check-py27-typing
- env: TASK=check-nose
- env: TASK=check-pytest30
- env: TASK=check-faker070
- env: TASK=check-faker-latest
- env: TASK=check-django21
- env: TASK=check-django20
- env: TASK=check-django111
- env: TASK=check-pandas19
- env: TASK=check-pandas20
- env: TASK=check-pandas21
- env: TASK=check-pandas22
- env: TASK=check-pandas23
- stage: deploy
env: TASK=deploy
script:
- ./build.sh
matrix:
fast_finish: true
stages:
- precheck
- main
- extras
- name: deploy
if: type = push
notifications:
email:
recipients:
- david@drmaciver.com
on_success: never
on_failure: change
addons:
apt:
packages:
- libgmp-dev