annotate .travis.yml @ 1188:a7c43131d871

bake: Fix file write flushing problem with Python 3.8+ Writing the cache files fails in Python 3.8 because it looks like flushing behaviour has changed. We need to explicitly flush. And even then, in very rare occurrences, it looks like it can still run into racing conditions, so we do a very hacky and ugly "retry" loop when fetching cached data :(
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 15 Jun 2021 22:36:23 -0700
parents 84492d185813
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
463
aefd2714d205 cm: Use Travis CI's new infrastructure.
Ludovic Chabant <ludovic@chabant.com>
parents: 354
diff changeset
1 sudo: false
178
ff5b2d3863a8 build: Add Travis-CI config file.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 language: python
ff5b2d3863a8 build: Add Travis-CI config file.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 python:
ff5b2d3863a8 build: Add Travis-CI config file.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 - "3.4"
671
3c4075e37dc2 cm: Also test Python 3.5 with Travis.
Ludovic Chabant <ludovic@chabant.com>
parents: 463
diff changeset
5 - "3.5"
1022
84492d185813 cm: Add Python 3.6 to Travis-CI.
Ludovic Chabant <ludovic@chabant.com>
parents: 679
diff changeset
6 - "3.6"
354
779c67decff6 build: Put dev-only lib requirements into a `dev-requirements.txt` file.
Ludovic Chabant <ludovic@chabant.com>
parents: 178
diff changeset
7 install:
677
a9b13c848b20 cm: Make Travis-CI test packaging.
Ludovic Chabant <ludovic@chabant.com>
parents: 671
diff changeset
8 - "python setup.py version -f 2.0"
679
15b6ffadc95f cm: It's fun to send typos to Travis-CI.
Ludovic Chabant <ludovic@chabant.com>
parents: 677
diff changeset
9 - "python setup.py sdist --formats=zip"
677
a9b13c848b20 cm: Make Travis-CI test packaging.
Ludovic Chabant <ludovic@chabant.com>
parents: 671
diff changeset
10 - "pip install dist/PieCrust-2.0.zip"
a9b13c848b20 cm: Make Travis-CI test packaging.
Ludovic Chabant <ludovic@chabant.com>
parents: 671
diff changeset
11 script:
a9b13c848b20 cm: Make Travis-CI test packaging.
Ludovic Chabant <ludovic@chabant.com>
parents: 671
diff changeset
12 - "py.test"
178
ff5b2d3863a8 build: Add Travis-CI config file.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13