From 07e869c4973fd7debe90255a78058c7215a2a973 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Sat, 23 Jan 2021 16:02:44 +0100 Subject: [PATCH] Set up travis for use with Python --- .travis.yml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index d25ca21..98e209c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,24 @@ dist: bionic -language: rust -rust: - - stable - - beta - - nightly +language: python + +python: + - "3.9" + - "nightly" jobs: allow_failures: - - rust: nightly + - python: nightly fast_finish: true -cache: - - cargo - - 2020/target - # Custom directory, for the correct year -before_script: - - cd 2020 +before_install: + - 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