forked from python-trio/hip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (53 loc) · 1.28 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
language: python
sudo: false
stage: test
dist: xenial
before_install:
- env
- openssl version
- python -c "import ssl; print(ssl.OPENSSL_VERSION)"
install:
- ./_travis/install.sh
script:
- ./_travis/run.sh
- ./_travis/upload_coverage.sh
cache:
directories:
- ${HOME}/.cache
notifications:
email: false
env:
global:
- PYTHONWARNINGS=always::DeprecationWarning
- PYPI_USERNAME=hip
# PYPI_PASSWORD is set in Travis control panel.
matrix:
include:
# Unit tests
- python: 2.7
env: NOX_SESSION=test-2.7
- python: 3.5
env: NOX_SESSION=test-3.5
- python: 3.6
env: NOX_SESSION=test-3.6
- python: 3.7
env: NOX_SESSION=test-3.7
- python: 3.8-dev
env: NOX_SESSION=test-3.8
- python: pypy
env: NOX_SESSION=test-pypy
- python: pypy3
env: NOX_SESSION=test-pypy3
- python: 2.7
env: NOX_SESSION=google_brotli-2.7
- python: 3.7
env: NOX_SESSION=google_brotli-3.7
stages:
- name: test
if: tag IS blank
# Run integration tests for release candidates
- name: integration
if: type = pull_request AND head_branch =~ ^release-[\d.]+$ AND tag IS blank
# Deploy on any tags
- name: deploy
if: tag IS present AND tag =~ /^(\d+\.\d+(?:.\d+)?)$/ AND repo = python-trio/hip