Code Repositories xandikos / 74baad1
Drop appveyor/travis. Jelmer Vernooij 30 days ago
3 changed file(s) with 0 addition(s) and 118 deletion(s). Raw diff Collapse all Expand all
+0
-33
.travis.yml less more
0 language: python
1 cache: pip
2 sudo: true
3 dist: xenial
4 addons:
5 apt:
6 update: true
7 python:
8 - 3.6
9 - 3.7
10 env:
11 global: PYTHONHASHSEED=random
12 matrix:
13 include:
14 - python: 3.7
15 dist: xenial
16 - python: 3.8
17 dist: xenial
18 install:
19 - sudo apt-get install -qq libneon27-dev curl
20 - pip install pip --upgrade
21 - pip install flake8 pycalendar vobject requests six tzlocal pytz attrs aiohttp aiohttp-wsgi prometheus-client mypy multidict
22 - python setup.py develop
23 script:
24 - make style
25 - make check
26 - make typing
27 # Retrieve litmus from Xandikos server for now, since webdav.org is down.
28 - make check-litmus LITMUS_URL=https://www.xandikos.org/litmus-0.13.tar.gz
29 - make check-caldavtester
30 - make check-pycaldav
31 cache:
32 pip: true
0 .. image:: https://travis-ci.org/jelmer/xandikos.png?branch=master
1 :target: https://travis-ci.org/jelmer/xandikos
2 :alt: Build Status
3
4 .. image:: https://ci.appveyor.com/api/projects/status/fjqtsk8agwmwavqk/branch/master?svg=true
5 :target: https://ci.appveyor.com/project/jelmer/xandikos/branch/master
6 :alt: Windows Build Status
7
8
90 Xandikos is a lightweight yet complete CardDAV/CalDAV server that backs onto a Git repository.
101
112 Xandikos (Ξανδικός or Ξανθικός) takes its name from the name of the March month
+0
-76
appveyor.yml less more
0 environment:
1
2 matrix:
3
4 - PYTHON: "C:\\Python36"
5 PYTHON_VERSION: "3.6.x"
6 PYTHON_ARCH: "32"
7
8 - PYTHON: "C:\\Python36-x64"
9 PYTHON_VERSION: "3.6.x"
10 PYTHON_ARCH: "64"
11
12 - PYTHON: "C:\\Python37"
13 PYTHON_VERSION: "3.7.x"
14 PYTHON_ARCH: "32"
15
16 - PYTHON: "C:\\Python37-x64"
17 PYTHON_VERSION: "3.7.x"
18 PYTHON_ARCH: "64"
19
20 - PYTHON: "C:\\Python38"
21 PYTHON_VERSION: "3.8.x"
22 PYTHON_ARCH: "32"
23
24 - PYTHON: "C:\\Python38-x64"
25 PYTHON_VERSION: "3.8.x"
26 PYTHON_ARCH: "64"
27
28 install:
29 # If there is a newer build queued for the same PR, cancel this one.
30 # The AppVeyor 'rollout builds' option is supposed to serve the same
31 # purpose but it is problematic because it tends to cancel builds pushed
32 # directly to master instead of just PR builds (or the converse).
33 # credits: JuliaLang developers.
34 - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
35 https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
36 Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
37 throw "There are newer queued builds for this pull request, failing early." }
38 - ECHO "Filesystem root:"
39 - ps: "ls \"C:/\""
40
41 - ECHO "Installed SDKs:"
42 - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
43
44 # Install Python (from the official .msi of http://python.org) and pip when
45 # not already installed.
46 - ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 }
47
48 # Prepend newly installed Python to the PATH of this build (this cannot be
49 # done from inside the powershell script as it would require to restart
50 # the parent CMD process).
51 - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
52
53 # Check that we have the expected version and architecture for Python
54 - "python --version"
55 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
56
57 # Install setuptools/wheel so that we can e.g. use bdist_wheel
58 - "pip install setuptools wheel"
59
60 - "python setup.py develop"
61
62 build_script:
63 - "python setup.py build"
64
65 test_script:
66 - "python setup.py test"
67
68 after_test:
69 - "python setup.py bdist_wheel"
70 - "python setup.py bdist_wininst"
71 - "python setup.py bdist_msi"
72 - ps: "ls dist"
73
74 artifacts:
75 - path: dist\*