pyo3/.travis.yml

75 lines
1.6 KiB
YAML
Raw Normal View History

2015-06-28 19:46:24 +00:00
language: python
2020-06-06 05:56:16 +00:00
os: linux
2020-03-17 04:42:13 +00:00
dist: bionic
cache:
pip: true
2018-08-11 15:35:03 +00:00
cargo: true
2018-02-21 18:06:48 +00:00
2020-06-06 05:56:16 +00:00
jobs:
include:
2019-02-13 11:28:41 +00:00
- name: Python 3.5
python: "3.5"
- name: Python 3.6
python: "3.6"
- name: Python 3.7
python: "3.7"
- name: Python 3.8
python: "3.8"
# Run clippy and rustfmt
env: RUN_LINT=1
- name: Python 3.9-dev
python: "3.9-dev"
- name: Nightly
2019-02-13 11:28:41 +00:00
python: "3.7"
env: TRAVIS_RUST_VERSION=nightly FEATURES="nightly"
2020-06-18 09:49:43 +00:00
- name: Minimum Stable
python: "3.7"
env: TRAVIS_RUST_VERSION=1.39.0
- name: PyPy3.6
python: "pypy3"
env: FEATURES="pypy"
allow_failures:
- python: 3.9-dev
2020-03-17 04:42:13 +00:00
2015-04-19 03:21:28 +00:00
env:
2017-11-27 19:04:49 +00:00
global:
2020-06-17 08:10:00 +00:00
- TRAVIS_RUST_VERSION=stable
- RUST_BACKTRACE=1
2017-06-15 16:11:19 +00:00
before_install:
- source ./ci/travis/setup.sh
2019-07-23 19:23:09 +00:00
- curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar jxf -
2017-06-15 16:11:19 +00:00
2015-06-28 19:46:24 +00:00
install:
2019-07-09 07:47:08 +00:00
- pip install setuptools-rust pytest pytest-benchmark tox
script:
2018-05-23 14:38:44 +00:00
- ./ci/travis/test.sh
deploy:
- provider: script
script: ./ci/travis/cover.sh
2020-06-06 14:59:15 +00:00
edge: true
on:
branch: master
2020-01-13 22:30:49 +00:00
repo: PyO3/pyo3
2020-06-26 07:36:41 +00:00
condition: $TRAVIS_JOB_NAME == "Nightly" && $TRAVIS_EVENT_TYPE != "cron"
- provider: script
script: ./ci/travis/guide.sh
2020-06-06 14:59:15 +00:00
edge: true
on:
branch: master
repo: PyO3/pyo3
2020-06-26 07:36:41 +00:00
condition: $TRAVIS_JOB_NAME == "Python 3.7" && $TRAVIS_EVENT_TYPE != "cron"
- provider: script
script: ./ci/travis/guide.sh
2020-06-06 14:59:15 +00:00
edge: true
on:
tags: true
repo: PyO3/pyo3
2020-06-26 07:36:41 +00:00
condition: $TRAVIS_JOB_NAME == "Python 3.7"
notifications:
email: false