This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
/
appveyor.yml
51 lines (47 loc) · 1.61 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
44
45
46
47
48
49
50
51
cache:
- C:\apache-ant-1.9.7-bin.zip
environment:
matrix:
- ANDROID_HOME: C:\Program Files (x86)\Android\android-sdk
ANT_HOME: C:\apache-ant-1.9.7
TEST_SCRIPT: "nodeunit_test"
- WIX_HOME: C:\Program Files (x86)\WiX Toolset v3.10
TEST_SCRIPT: "windows_test"
- ANDROID_HOME: C:\Program Files (x86)\Android\android-sdk
ANT_HOME: C:\apache-ant-1.9.7
TEST_SCRIPT: "android_test_32bit"
- ANDROID_HOME: C:\Program Files (x86)\Android\android-sdk
ANT_HOME: C:\apache-ant-1.9.7
TEST_SCRIPT: "android_test_64bit"
install:
- cd \
- ps: "[Net.ServicePointManager]::SecurityProtocol = 'Tls12'"
- appveyor DownloadFile http://www.eu.apache.org/dist/ant/binaries/apache-ant-1.9.7-bin.zip
- 7z x apache-ant-1.9.7-bin.zip > nul
- md lzma
- cd lzma
- appveyor DownloadFile http://www.7-zip.org/a/lzma1514.7z
- 7z x lzma1514.7z
- cd ..\
- set PATH=%ANDROID_HOME%\tools;%PATH%;%ANT_HOME%\bin;%WIX_HOME%\bin;C:\lzma\bin;
- ps: Start-FileDownload 'http://www.crummy.com/software/BeautifulSoup/bs4/download/4.4/beautifulsoup4-4.4.1.tar.gz'
- 7z x beautifulsoup4-4.4.1.tar.gz
- 7z x dist/beautifulsoup4-4.4.1.tar > nul
- cd beautifulsoup4-4.4.1
- python setup.py install
- cd %APPVEYOR_BUILD_FOLDER%
- npm install
test_script:
- if "%TEST_SCRIPT%" == "nodeunit_test" (
npm test
)
- if "%TEST_SCRIPT%" == "windows_test" (
python lint.py -p windows
)
- if "%TEST_SCRIPT%" == "android_test_32bit" (
python lint.py -p android -a 32bit
)
- if "%TEST_SCRIPT%" == "android_test_64bit" (
python lint.py -p android -a 64bit
)
build: off