-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
30 lines (28 loc) · 1.13 KB
/
circle.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
## Customize the test machine
machine:
timezone:
Asia/Ho_Chi_Minh # Set the timezone
xcode:
version: "7.3"
# environment:
# please specify your code signing identity name here
# GYM_CODE_SIGNING_IDENTITY: "iPhone Distribution: Acme Inc. (GL31ZZ3256)"
dependencies:
override:
- sudo gem install calabash-cucumber
- sudo gem install cocoapods
- bundle install
- brew install imagemagick
- npm install -g express
- npm install handlebars hbsfy
- pod install
- ls
test:
pre:
- node features/server/server.js:
background: true
- curl http://127.0.0.1:8081/listUsers
override:
- set -o pipefail && xcodebuild -workspace 'PureAutoLayoutUIScrollView.xcworkspace' -scheme 'PureAutoLayoutUIScrollView-cal' clean build test -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml
post:
- bundle exec cucumber