-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (20 loc) · 744 Bytes
/
.travis.yml
File metadata and controls
23 lines (20 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
branches:
only:
- master
matrix:
include:
- os: linux
dist: trusty
sudo: required
env: COMPONENT=server
- os: osx
osx_image: xcode9
env: COMPONENT=server
- os: osx
osx_image: xcode9
env: COMPONENT=iOS
before_install:
- git clone -b master https://github.com/IBM-Swift/Package-Builder.git ToDoServer/Package-Builder
script:
- if [[ "$COMPONENT" == "server" ]]; then cd $TRAVIS_BUILD_DIR/ToDoServer && ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR; fi
- if [[ "$COMPONENT" == "iOS" ]]; then cd $TRAVIS_BUILD_DIR/KituraiOS; xcodebuild -project iOSKituraKitSample.xcodeproj/ -target iOSKituraKitSample -sdk iphonesimulator11.0 ONLY_ACTIVE_ARCH=NO -quiet; fi