2018-05-04 16:20:28 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2015-06-28 19:46:24 +00:00
|
|
|
language: python
|
2018-02-21 18:06:48 +00:00
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
cache:
|
|
|
|
pip: true
|
|
|
|
directories:
|
|
|
|
- "$HOME/.cargo"
|
|
|
|
- "$HOME/kcov"
|
2018-02-21 18:06:48 +00:00
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- python: "2.7"
|
|
|
|
env: FEATURES=python2
|
|
|
|
- python: "3.5"
|
|
|
|
env: FEATURES=python3
|
|
|
|
- python: "3.6"
|
|
|
|
env: FEATURES=python3
|
2018-02-21 18:06:48 +00:00
|
|
|
- python: "3.7-dev"
|
2018-05-04 16:20:28 +00:00
|
|
|
env: FEATURES=python3
|
|
|
|
allow_failures:
|
|
|
|
- python: "3.7-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:
|
2018-05-04 16:20:28 +00:00
|
|
|
- TRAVIS_RUST_VERSION=nightly
|
2017-11-27 19:04:49 +00:00
|
|
|
- RUSTFLAGS="-C link-dead-code"
|
2018-03-13 22:05:47 +00:00
|
|
|
- RUST_BACKTRACE=1
|
2018-05-04 16:20:28 +00:00
|
|
|
- SCCACHE_DIR="$HOME/.cargo/sccache"
|
|
|
|
- RUSTC_WRAPPER=sccache
|
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
|
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
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-05-04 16:20:28 +00:00
|
|
|
- pip install setuptools-rust pytest pytest-benchmark
|
2018-04-03 17:32:10 +00:00
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
script:
|
|
|
|
- source ./ci/travis/test.sh
|
2018-02-14 17:45:08 +00:00
|
|
|
|
2018-05-04 16:20:28 +00:00
|
|
|
deploy:
|
|
|
|
- provider: script
|
|
|
|
skip_cleanup: true
|
|
|
|
script: ./ci/travis/cover.sh
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
- provider: script
|
|
|
|
skip_cleanup: true
|
|
|
|
script: ./ci/travis/guide.sh
|
|
|
|
on:
|
|
|
|
branch: master
|
2018-05-04 16:34:05 +00:00
|
|
|
repo: PyO3/pyo3
|
2018-05-04 16:20:28 +00:00
|
|
|
python: 3.6
|
|
|
|
|