forked from cyberbotics/webots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
23 lines (18 loc) · 933 Bytes
/
.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
# This file is used by the "webots-test-sources" appveyor project.
branches:
except:
- develop
- master
clone_depth: 1
install:
- set PATH=C:\Python38-x64;C:\Python38-x64\Scripts;C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%
- pacman --noconfirm -S mingw-w64-x86_64-cppcheck
- pip install -r %APPVEYOR_BUILD_FOLDER%\\tests\\sources\\requirements.txt
- pip install -r %APPVEYOR_BUILD_FOLDER%\\docs\\tests\\requirements.txt
- copy %APPVEYOR_BUILD_FOLDER%\\dependencies\\.clang-format-9 %APPVEYOR_BUILD_FOLDER%\\.clang-format
build: off
test_script:
- set WEBOTS_HOME=%APPVEYOR_BUILD_FOLDER%
- python -m unittest discover -s %APPVEYOR_BUILD_FOLDER%\\docs\\tests
- ps: if ($env:APPVEYOR_REPO_TAG -ne "true") { python $env:APPVEYOR_BUILD_FOLDER\\tests\\sources\\generate_diff.py $env:APPVEYOR_REPO_COMMIT $env:APPVEYOR_REPO_NAME }
- python -m unittest discover -s %APPVEYOR_BUILD_FOLDER%\\tests\\sources