From f0154238e597454c0533fffebf07e7cfcb5143fd Mon Sep 17 00:00:00 2001 From: Aviv Palivoda Date: Sat, 4 Jan 2020 16:13:28 +0200 Subject: [PATCH] Run CPython test suite in travis CI --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.travis.yml b/.travis.yml index 04ae39222..e2bcd3ae8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -204,3 +204,17 @@ matrix: env: - JOBCACHE=10 - TRAVIS_RUST_VERSION=nightly + + - name: Run CPython test suite + language: rust + os: linux + rust: stable + cache: cargo + script: + - cargo build --verbose --all + - export RUSTPYTHONPATH=`pwd`/Lib + - cargo run -- -m test -v + env: + # Prevention of cache corruption. + # See: https://docs.travis-ci.com/user/caching/#caches-and-build-matrices + - JOBCACHE=12