-
Notifications
You must be signed in to change notification settings - Fork 54
/
.travis.yml
39 lines (27 loc) · 1.42 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
language: objective-c
## Setup
# Travis initializes git submodules before `install` runs
install:
# - `xctool`, required to build the unit test and documentation targets
# nothing to do here because it's already installed on Travis
# - `appledoc`, used to build documentation
# Force the usage of appledoc 2.1 until https://github.com/inkling/Subliminal/issues/71 is addressed;
# manually install the above (rather than using `brew`) because `appledoc`
# can't be compiled using Xcode 5.1 and there's no bottle available for the `appledoc21` formula
- curl --progress-bar --output /tmp/appledoc-2.1.mountain_lion.bottle.tar.gz http://inkling.github.io/Subliminal/Documentation/appledoc-2.1.mountain_lion.bottle.tar.gz
- tar -C /tmp -zxf /tmp/appledoc-2.1.mountain_lion.bottle.tar.gz
- cp /tmp/appledoc/2.1/bin/appledoc /usr/local/bin
- cp -Rf /tmp/appledoc/2.1/Templates/ ~/.appledoc
## Test matrix
env:
matrix:
- TEST_COMMAND=test:unit TEST_SDK=6.1
- TEST_COMMAND=test:unit TEST_SDK=7.1
- TEST_COMMAND=test:CI_unit
- TEST_COMMAND=test:integration:iphone TEST_SDK=6.1
- TEST_COMMAND=test:integration:iphone TEST_SDK=7.1
- TEST_COMMAND=test:integration:ipad TEST_SDK=6.1
- TEST_COMMAND=test:integration:ipad TEST_SDK=7.1
- TEST_COMMAND=build_docs
## Test script
script: rake $TEST_COMMAND