1
1
shallow_clone : false
2
2
3
3
image :
4
+ - macOS-mojave
5
+ - macOS
4
6
- Ubuntu
5
7
- Ubuntu1804
6
- - Visual Studio 2015
8
+ - Visual Studio 2015
7
9
8
10
environment :
9
11
matrix :
@@ -13,12 +15,12 @@ environment:
13
15
MINICONDA_DIRNAME : C:\FreshMiniconda
14
16
15
17
install :
16
- - sh : sudo apt update
17
- - sh : sudo apt -y --force-yes install libglu1-mesa xvfb libgl1-mesa-dri mesa-common-dev libglu1-mesa-dev
18
- - sh : wget https://repo.continuum.io /miniconda/Miniconda3-latest-Linux -x86_64.sh -O miniconda.sh
18
+ - sh : if [[ $APPVEYOR_BUILD_WORKER_IMAGE != "macOS"* ]]; then sudo apt update; sudo apt -y --force-yes install libglu1-mesa xvfb libgl1-mesa-dri mesa-common-dev libglu1-mesa-dev; fi
19
+ - sh : if [[ $APPVEYOR_BUILD_WORKER_IMAGE != "macOS"* ]]; then curl -o miniconda.sh curl -o miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh; fi
20
+ - sh : if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "macOS"* ]]; then curl -o miniconda.sh curl -o miniconda.sh https://repo.anaconda.com /miniconda/Miniconda3-4.7.10-MacOSX -x86_64.sh; fi
19
21
- sh : bash miniconda.sh -b -p $HOME/miniconda
20
22
- sh : source $HOME/miniconda/bin/activate
21
- - cmd : appveyor DownloadFile https://repo.continuum.io /miniconda/Miniconda3-latest-Windows-x86_64.exe
23
+ - cmd : appveyor DownloadFile https://repo.anaconda.com /miniconda/Miniconda3-latest-Windows-x86_64.exe
22
24
- cmd : Miniconda3-latest-Windows-x86_64.exe /S /InstallationType=JustMe /D=%MINICONDA_DIRNAME%
23
25
- cmd : set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
24
26
- cmd : activate
@@ -34,15 +36,28 @@ install:
34
36
35
37
build : false
36
38
39
+ before_test :
40
+ - ulimit -c unlimited -S
41
+ - sudo rm -f /cores/core.*
42
+
37
43
test_script :
38
44
- sh : export PYTHONPATH=$(pwd)
39
45
- cmd : set PYTHONPATH=%cd%
40
- - sh : xvfb-run -s '-screen 0 1920x1080x24 +iglx' pytest -v --cov=cq_editor
46
+ - sh : export APPVEYOR_SSH_BLOCK=true
47
+ - sh : curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
48
+ - sh : if [[ $APPVEYOR_BUILD_WORKER_IMAGE != "macOS"* ]]; then xvfb-run -s '-screen 0 1920x1080x24 +iglx' pytest -v --cov=cq_editor; fi
49
+ - sh : if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "macOS"* ]]; then pytest -v --cov=cq_editor; fi
41
50
- cmd : pytest -v --cov=cq_editor
42
51
43
52
on_success :
44
53
- codecov
45
54
55
+ # on_failure:
56
+ # - qtdiag
57
+ # - ls /cores/core.*
58
+ # - lldb --core `ls /cores/core.*` --batch --one-line "bt"
59
+
46
60
on_finish :
47
61
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
48
- # - sh: curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
62
+ # - sh: export APPVEYOR_SSH_BLOCK=true
63
+ - sh : curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
0 commit comments