forked from fastlane/fastlane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
56 lines (44 loc) · 1.44 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
# https://www.appveyor.com/docs/appveyor-yml/
version: "{build}"
# branches to build
branches:
# allowlist
only:
- master
# Do not build on tags (GitHub and BitBucket)
skip_tags: true
# Do not build additional commits to feature branch with open Pull Requests
skip_branch_with_pr: true
# Rolling builds
# can only be configured via UI: https://www.appveyor.com/docs/build-configuration/#rolling-builds
init:
- git config --global core.autocrlf true
# cloning the repository happens here
install:
- set PATH=C:\Ruby26-x64\bin;%PATH%
- FOR /F "usebackq delims==" %%A IN (`ruby .ci/compatible_gem_version`) DO gem update --system %%A
- FOR /F "usebackq delims==" %%A IN (`ruby .ci/bundler_version.rb`) DO gem install bundler -v %%A
- bundle install
# iconv
- appveyor DownloadFile
https://downloads.sourceforge.net/project/gnuwin32/libiconv/1.9.2-1/libiconv-1.9.2-1.exe?download
-FileName %TEMP%\libiconv.exe
- "%TEMP%\\libiconv.exe /SILENT /SUPPRESSMSGBOXES"
environment:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
FASTLANE_ITUNES_TRANSPORTER_PATH: C:/tmp
before_test:
- ruby -v
- which ruby
- gem -v
- bundle -v
- which iconv
- which git
- git --version
build: off
test_script:
# Uncomment the first line and comment the second one to debug failing tests
# on Windows (some tests might fail with this).
# - cmd /V /C "set DEBUG=1 && bundle exec fastlane execute_tests"
- bundle exec fastlane execute_tests