Skip to content

Commit 60fb749

Browse files
committed
Merge pull request #365 from madvay/configure-travis
Configure Travis
2 parents a2c3f9c + 03d5449 commit 60fb749

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
11
language: groovy
2+
3+
# TODO: Multi-os in beta, requires approval from Travis.
4+
#os:
5+
# - linux
6+
# - osx
7+
8+
# Everything except Java 6.
9+
jdk:
10+
- oraclejdk7
11+
- openjdk7
12+
- oraclejdk8
13+
14+
# We can be run in a container for improved performance.
15+
sudo: false
16+
17+
# If these steps fail, the build is 'errored' - i.e. misconfigured.
18+
# This can fail if we cannot download Gradle 2.4 or the libraries
19+
# we depend on.
20+
install:
21+
- ./gradlew wrapper
22+
- ./gradlew dependencies
23+
24+
# If these steps fail, the build is 'failed' - i.e. we have a code defect.
25+
# We compile (assemble) and then build (which also tests) to capture build
26+
# and test failures separately.
27+
script:
28+
- ./gradlew assemble
29+
- ./gradlew build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ of the generated files is necessary. The goal is to write an app's non-UI code
99
(such as application logic and data models) in Java, which is then shared by
1010
Android apps (natively Java), web apps (using GWT), and iOS apps (using J2ObjC).
1111

12+
[![Build Status](https://travis-ci.org/j2objc-contrib/j2objc-gradle.svg)](https://travis-ci.org/j2objc-contrib/j2objc-gradle)
1213

1314
### Usage
1415

0 commit comments

Comments
 (0)