forked from reactiveui/ReactiveUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
77 lines (76 loc) · 2.85 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# configuration for "master" branch
-
image: Visual Studio 2015
branches:
only:
- master
version: 1.0.{build}
environment:
ANDROID_HOME: "C:\\android-sdk-windows"
COVERALLS_TOKEN: jLYKFVgST432LzbZeyLnLpoteXwQLveBw
GITHUB_USERNAME:
secure: 0Q9MvUId56SizmZwCf0cgg==
GITHUB_TOKEN:
secure: 8MW7NQw/+0kKQAINvV7mxac+f7xqrLPkskONTyldqcYP6M1h9iej2p7rSva0/rXH
NUGET_SOURCE: https://www.nuget.org/api/v2/package
NUGET_APIKEY:
secure: 0g2AqQxgiAIFhqoJbbmEPrJa15Z8U5xYT6vQe43Gocuxbjw74hBAIKbU+Cj65UNd
init:
- cd \
- appveyor DownloadFile http://dl.google.com/android/android-sdk_r24.4.1-windows.zip
- 7z x android-sdk_r24.4.1-windows.zip > nul
- cd "C:\projects\reactiveui"
install:
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t tools
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t platform-tools
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t build-tools-24.0.2
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t android-24
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-google-m2repository
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-android-m2repository
build_script:
- ./build.cmd
cache:
- tools -> build.*
- src\packages -> **\packages.config
- '%USERPROFILE%\.nuget\packages -> **\project.json'
artifacts:
- path: artifacts/*
- path: '**/bin/*'
- path: src/ReactiveUI.Events/Events_*.cs
test: off
# configuration for "develop" branch
-
image: Visual Studio 2015
branches:
except:
- master
version: 1.0.{build}
environment:
ANDROID_HOME: "C:\\android-sdk-windows"
COVERALLS_TOKEN: jLYKFVgST432LzbZeyLnLpoteXwQLveBw
NUGET_SOURCE: https://www.myget.org/F/reactiveui/api/v2/package
NUGET_APIKEY:
secure: YP/3KxC2ffsuHNaolPXj66JVGzSjON9FcR2S2OEzn9c6SV14oPzUh1ySyeT+G+aA
init:
- cd \
- appveyor DownloadFile http://dl.google.com/android/android-sdk_r24.4.1-windows.zip
- 7z x android-sdk_r24.4.1-windows.zip > nul
- cd "C:\projects\reactiveui"
install:
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t tools
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t platform-tools
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t build-tools-24.0.2
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t android-24
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-google-m2repository
- echo y | "%ANDROID_HOME%\tools\android.bat" update sdk -u -a -t extra-android-m2repository
build_script:
- ./build.cmd
cache:
- tools -> build.*
- src\packages -> **\packages.config
- '%USERPROFILE%\.nuget\packages -> **\project.json'
artifacts:
- path: artifacts/*
- path: '**/bin/*'
- path: src/ReactiveUI.Events/Events_*.cs
test: off