Skip to content

Commit a98d05b

Browse files
committed
Update Makefile for tests
1 parent 5f9ac87 commit a98d05b

3 files changed

Lines changed: 14 additions & 9 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ script:
2222
- make -B carthage
2323
- make -B docs
2424
after_success:
25-
- sh scripts/update-docs.sh
25+
- sh scripts/push-docs.sh
2626
notifications:
2727
email: false
2828
slack:

Makefile

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
default: test
22

3-
test:
4-
xcodebuild clean build -workspace QuickTableViewController.xcworkspace -scheme QuickTableViewController-iOS -sdk iphonesimulator SWIFT_VERSION=3.0 | bundle exec xcpretty -c
5-
bundle exec rake "test:ios[QuickTableViewController-iOS]"
6-
bundle exec rake "test:tvos[QuickTableViewController-tvOS]"
7-
bundle exec rake "test:ios[Example-iOS]"
8-
bundle exec rake "build:tvos[Example-tvOS]"
9-
10-
ci-test: test
3+
test: unit-test ui-test
4+
5+
unit-test:
6+
bundle exec rake \
7+
"test:ios[QuickTableViewController-iOS]" \
8+
"test:tvos[QuickTableViewController-tvOS]" \
9+
10+
ui-test:
11+
bundle exec rake \
12+
"test:ios[Example-iOS]" \
13+
"test:tvos[Example-tvOS]"
14+
15+
ci-test: unit-test ui-test
1116
make -B carthage
1217
make -B docs
1318

0 commit comments

Comments
 (0)