Set up travis for use with Python

This commit is contained in:
2021-01-23 16:02:44 +01:00
parent 07db73aa3e
commit 07e869c497

View File

@@ -1,19 +1,24 @@
dist: bionic dist: bionic
language: rust language: python
rust:
- stable python:
- beta - "3.9"
- nightly - "nightly"
jobs: jobs:
allow_failures: allow_failures:
- rust: nightly - python: nightly
fast_finish: true fast_finish: true
cache:
- cargo
- 2020/target
# Custom directory, for the correct year # Custom directory, for the correct year
before_script: before_install:
- cd 2020 - cd 2019
- python -m pip install --upgrade pip
script: pytest
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log