Mercurial > piecrust2
annotate appveyor.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 | 783ff8bc4e03 |
children |
rev | line source |
---|---|
672
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 environment: |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 matrix: |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 - PYTHON: "C:\\Python34" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 - PYTHON: "C:\\Python34-x64" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 - PYTHON: "C:\\Python35" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 - PYTHON: "C:\\Python35-x64" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 install: |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 - "pip install -r requirements.txt" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 - "pip install -r dev-requirements.txt" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 build: off |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 test_script: |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
16 - "py.test" |
783ff8bc4e03
cm: Add AppVeyor support.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
17 |