Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Commit 642100f

Browse files
authored
Merge pull request #15 from google/travis-ci-all
Defining Travis CI Script
2 parents aa6fab8 + 062a0fc commit 642100f

4 files changed

Lines changed: 22 additions & 0 deletions

File tree

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: java
2+
3+
sudo: false
4+
5+
jdk:
6+
- openjdk7
7+
- oraclejdk8
8+
9+
os:
10+
- linux
11+
12+
13+
script:
14+
- ./clean.sh
15+
- ./make.sh
16+
- ./test.sh

clean.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
set -e
18+
1719
rm -rf ./bin/*

make.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
set -e
18+
1719
mkdir -p bin
1820

1921
javac -Xlint $(find * | grep "\\.java$") -d ./bin -sourcepath ./src -cp ./third_party/junit4.jar:./bin

test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
set -e
18+
1719
java -cp ./third_party/junit4.jar:./bin codeu.chat.TestRunner

0 commit comments

Comments
 (0)