-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
43 lines (33 loc) · 1.23 KB
/
appveyor.yml
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
version: build{build}
branches:
only:
- master
- pre-release
- dev
image:
- Ubuntu1804
max_jobs: 1
environment:
PYTHONWARNINGS: ignore
CODECOV_TOKEN: "3afbcc45-e086-40e5-af77-375c8c7e9694"
install:
# We need wheel installed to build wheels
- sh: "sudo apt -qq update"
- sh: "sudo apt -y install libxml2-utils eukleides gettext python3-pip texlive-latex-base texlive-luatex texlive-latex-recommended texlive-xetex texlive-pstricks texlive-font-utils texlive-latex-extra texlive-base texlive-science texlive-pictures texlive-generic-recommended texlive-fonts-recommended texlive-fonts-extra locales"
- sh: "sudo -H pip3 install wheel pytest codecov pytest-cov"
- sh: "sudo locale-gen en_US.UTF-8 && sudo locale-gen fr_FR.UTF-8"
- sh: "sudo python3 setup.py install"
build: off
test_script:
- sh: "pytest --cov=mathmaker tests/"
# after_test:
# # This step builds your wheels.
# - sh: "codecov"
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: "codecov"