forked from j2objc-contrib/j2objc-common-libs-e2e-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (32 loc) · 944 Bytes
/
.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
# See j2objc-gradle's .travis.yml for explanations.
language: objective-c
os: osx
osx_image: xcode7
# Add a TEST_DIR=[directory] row for each library (or group of libraries) to test
# Each will be run as an independent, hermetic test (in parallel when resources permit)
# on Traivs.
env:
- TEST_DIR=com.google.code.gson-gson
- TEST_DIR=org.joda-joda-convert
- TEST_DIR=joda-time-joda-time
- TEST_DIR=org.joda-joda-primitives
- TEST_DIR=org.apache.commons-commons-lang3
# Uncomment to add a library that should fail to build, along with documentation on why.
# matrix:
# allow_failures:
# # Blocked on (github issue url)
# - env: TEST_DIR=libraryBuilds/com.example-library
branches:
only:
- master
- /^release.*$/
- /^v[0-9].*$/
sudo: false
before_install:
- export TERM=dumb
- env
- ./j2objc-gradle/install-osx-jdk7.sh
install:
- ./install.sh
script:
- ./run-test.sh libraryBuilds/$TEST_DIR