pyo3/.travis.yml

89 lines
1.6 KiB
YAML
Raw Normal View History

2015-06-28 19:46:24 +00:00
language: python
2018-02-21 18:06:48 +00:00
dist: xenial
cache:
pip: true
2018-08-11 15:35:03 +00:00
cargo: true
directories:
- "$HOME/kcov"
2018-02-21 18:06:48 +00:00
matrix:
include:
2019-02-13 11:28:41 +00:00
- name: Python 2.7
python: "2.7"
2018-08-04 17:55:15 +00:00
env: FEATURES=python2
2019-02-13 11:28:41 +00:00
- name: Python 3.5
python: "3.5"
env: FEATURES="python3 test-doc"
2019-02-13 11:28:41 +00:00
- name: Python 3.6
python: "3.6"
2018-08-04 17:55:15 +00:00
env: FEATURES=python3
2019-02-13 11:28:41 +00:00
- name: Python 3.7
python: "3.7"
2018-08-04 17:55:15 +00:00
env: FEATURES=python3
2019-02-13 11:28:41 +00:00
- name: Python 3.8-dev
python: "3.8-dev"
2019-02-10 18:40:04 +00:00
env: FEATURES=python3
2019-02-13 11:28:41 +00:00
- name: Minimum nightly
python: "3.7"
# Keep this synced up with build.rs
env: FEATURES=python3 TRAVIS_RUST_VERSION=nightly-2019-02-07
2019-02-05 13:49:03 +00:00
allow_failures:
- python: "3.8-dev"
env: FEATURES=python3
2017-06-12 01:30:56 +00:00
2015-04-19 03:21:28 +00:00
env:
2017-11-27 19:04:49 +00:00
global:
2019-02-13 11:28:41 +00:00
- TRAVIS_RUST_VERSION=nightly
- RUST_BACKTRACE=1
2017-06-15 16:11:19 +00:00
2017-11-27 19:04:49 +00:00
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
- gcc
- binutils-dev
- libiberty-dev
before_install:
- source ./ci/travis/setup.sh
2017-06-15 16:11:19 +00:00
2015-06-28 19:46:24 +00:00
install:
2018-08-09 20:26:17 +00:00
- pip install setuptools-rust pytest pytest-benchmark tox
script:
2018-05-23 14:38:44 +00:00
- ./ci/travis/test.sh
after_success:
- ./ci/travis/cover.sh
deploy:
- provider: script
skip_cleanup: true
script: ./ci/travis/cover.sh
on:
branch: master
condition: $TRAVIS_EVENT_TYPE != "cron"
- provider: script
skip_cleanup: true
script: ./ci/travis/guide.sh
on:
branch: master
repo: PyO3/pyo3
python: 3.6
2018-06-12 12:36:34 +00:00
condition: $TRAVIS_EVENT_TYPE != "cron"
- provider: script
skip_cleanup: true
script: ./ci/travis/guide.sh
on:
tags: true
repo: PyO3/pyo3
python: 3.6
notifications:
email: false