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
|
2018-11-23 19:49:12 +00:00
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
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:
|
2018-05-04 16:20:28 +00:00
|
|
|
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"
|
2020-03-16 12:55:35 +00:00
|
|
|
- name: Python 3.8
|
|
|
|
python: "3.8"
|
2020-06-18 09:16:01 +00:00
|
|
|
# Run clippy and rustfmt
|
|
|
|
env: RUN_LINT=1
|
2020-03-16 12:55:35 +00:00
|
|
|
- name: Python 3.9-dev
|
|
|
|
python: "3.9-dev"
|
2020-06-18 09:16:01 +00:00
|
|
|
- name: Nightly
|
2019-02-13 11:28:41 +00:00
|
|
|
python: "3.7"
|
2020-06-18 09:16:01 +00:00
|
|
|
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
|
2020-06-27 08:58:43 +00:00
|
|
|
- name: PyPy3.6
|
|
|
|
python: "pypy3"
|
|
|
|
env: FEATURES="pypy"
|
2020-03-16 12:55:35 +00:00
|
|
|
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
|
2018-03-13 22:05:47 +00:00
|
|
|
- RUST_BACKTRACE=1
|
2017-06-15 16:11:19 +00:00
|
|
|
|
2018-05-04 16:20:28 +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
|
2018-04-03 17:32:10 +00:00
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
script:
|
2018-05-23 14:38:44 +00:00
|
|
|
- ./ci/travis/test.sh
|
2018-02-14 17:45:08 +00:00
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
deploy:
|
2019-03-14 23:03:53 +00:00
|
|
|
- provider: script
|
2020-01-12 12:37:03 +00:00
|
|
|
script: ./ci/travis/cover.sh
|
2020-06-06 14:59:15 +00:00
|
|
|
edge: true
|
2019-03-14 23:03:53 +00:00
|
|
|
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"
|
2018-05-04 16:20:28 +00:00
|
|
|
- provider: script
|
|
|
|
script: ./ci/travis/guide.sh
|
2020-06-06 14:59:15 +00:00
|
|
|
edge: true
|
2018-05-04 16:20:28 +00:00
|
|
|
on:
|
|
|
|
branch: master
|
2018-05-04 16:34:05 +00:00
|
|
|
repo: PyO3/pyo3
|
2020-06-26 07:36:41 +00:00
|
|
|
condition: $TRAVIS_JOB_NAME == "Python 3.7" && $TRAVIS_EVENT_TYPE != "cron"
|
2018-07-18 21:17:50 +00:00
|
|
|
- provider: script
|
|
|
|
script: ./ci/travis/guide.sh
|
2020-06-06 14:59:15 +00:00
|
|
|
edge: true
|
2018-07-18 21:17:50 +00:00
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
repo: PyO3/pyo3
|
2020-06-26 07:36:41 +00:00
|
|
|
condition: $TRAVIS_JOB_NAME == "Python 3.7"
|
2018-06-14 14:29:22 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|