forked from uber/RIBs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·58 lines (48 loc) · 1.76 KB
/
.travis.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
matrix:
include:
- language: android
android:
components:
- tools # Tools
- platform-tools # Platform tools
- build-tools-25.0.2 # Build tools version
- android-25 # Target SDK version
- extra-android-m2repository # Support repo
- sys-img-armeabi-v7a-android-18 # Emulator
jdk: oraclejdk8
script:
- cd android
- ./gradlew build
env:
global:
- secure: "SONATYPE_NEXUS_USERNAME TODO"
- secure: "SONATYPE_NEXUS_PASSWORD TODO"
cache:
directories:
- $HOME/.gradle
- language: objective-c
osx_image: xcode9
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=RIBs.xcworkspace
- IOS_SDK=iphonesimulator11.0
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- cd ios
- xcodebuild -version
- xcodebuild -showsdks
- instruments -s devices
- pod install --repo-update
- xcodebuild -workspace "$WORKSPACE" -scheme "RIBs" -destination "OS=11.0,name=iPhone X" -sdk "$IOS_SDK" -configuration Release clean build | xcpretty -c;
- xcodebuild -workspace "$WORKSPACE" -scheme "RIBs" -destination "OS=9.0,name=iPhone 4S" -sdk "$IOS_SDK" -configuration Release clean build | xcpretty -c
- xcodebuild -workspace "$WORKSPACE" -scheme "RIBs" -destination "OS=11.0,name=iPhone X" -sdk "$IOS_SDK" -configuration Debug clean build test | xcpretty -c;
branches:
except:
- gh-pages
- assets
notifications:
email: false