-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
48 lines (38 loc) · 1.58 KB
/
Copy pathappveyor.yml
File metadata and controls
48 lines (38 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: build{build}
branches:
only:
- master
- pre-release
- dev
image:
- Ubuntu2004
max_jobs: 1
environment:
PYTHONWARNINGS: ignore
APPVEYOR_BAKE_IMAGE: ubuntu2004_mathmaker
install:
# We need wheel installed to build wheels
- sh: sudo apt -qq update --allow-releaseinfo-change
- sh: sudo apt install software-properties-common
- sh: sudo add-apt-repository -y ppa:deadsnakes/ppa
- sh: sudo apt install -y python3.9
- sh: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 8
- sh: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 9
- sh: sudo apt -y install libxml2-utils eukleides gettext python3-pip texlive-latex-base texlive-luatex texlive-xetex texlive-pstricks texlive-font-utils texlive-latex-extra texlive-base texlive-science texlive-pictures texlive-latex-recommended texlive-fonts-recommended texlive-fonts-extra locales
build_script:
- sh: sudo locale-gen en_US.UTF-8 && sudo locale-gen fr_FR.UTF-8
- sh: curl -sSL https://install.python-poetry.org | python3 -
- sh: export PATH="$HOME/.local/bin:$PATH"
- sh: poetry install
test_script:
- sh: poetry run coverage run --source=mathmaker -m pytest -vv
# after_test:
# # This step builds your wheels.
artifacts:
# bdist_wheel puts your built wheel in the dist directory
#- path: dist\*
on_success:
# You can use this step to upload your artifacts to a public website.
# See Appveyor's documentation for more details. Or you can simply
# access your wheels from the Appveyor "artifacts" tab for your build.
- sh: poetry run coveralls