Skip to content

Commit

Permalink
FINERACT-697: add .travis.yml (and rm old un-used *build.sh) (apache#518
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vorburger authored Feb 13, 2019
1 parent 35a9b7b commit 20e4c8e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 71 deletions.
24 changes: 18 additions & 6 deletions travis_build.sh → .travis.yml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
Expand All @@ -17,10 +15,24 @@
# specific language governing permissions and limitations
# under the License.
#
language: java

jdk:
- openjdk8

# https://docs.travis-ci.com/user/languages/java/#caching
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.m2

cd fineract-provider
# NOTE: The --info, while quite a bit more verbose, is VERY useful to understand failures on Travis,
# where you do not have access to any files like build/reports/tests/index.html, only the Console.
# where you do not have access to any files like build/reports/tests/index.html, only the Console.
# @see http://mrhaki.blogspot.ch/2013/05/gradle-goodness-show-more-information.html
# @see http://forums.gradle.org/gradle/topics/whats_new_in_gradle_1_1_test_logging for alternative
./gradlew --info clean licenseMain licenseTest licenseIntegrationTest test
# @see http://forums.gradle.org/gradle/topics/whats_new_in_gradle_1_1_test_logging for alternative
script:
- ./gradlew --info clean licenseMain licenseTest licenseIntegrationTest test
27 changes: 0 additions & 27 deletions build-cloudbees.sh

This file was deleted.

38 changes: 0 additions & 38 deletions build.sh

This file was deleted.

0 comments on commit 20e4c8e

Please sign in to comment.