-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: java | ||
jdk: openjdk8 | ||
|
||
before_install: | ||
- git clone https://github.com/cuba-platform/cuba-gradle-plugin.git $TRAVIS_BUILD_DIR/../cuba-gradle-plugin | ||
- git clone https://github.com/cuba-platform/cuba.git $TRAVIS_BUILD_DIR/../cuba | ||
- (cd $TRAVIS_BUILD_DIR/../cuba-gradle-plugin && chmod +x ./gradlew && ./gradlew --no-daemon install) | ||
- (cd $TRAVIS_BUILD_DIR/../cuba && chmod +x ./gradlew && ./gradlew --no-daemon install) | ||
- chmod +x ./gradlew | ||
|
||
install: | ||
- ./gradlew --no-daemon assemble | ||
|
||
script: | ||
- ./gradlew --no-daemon test javadoc | ||
|
||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- openjdk-8-jdk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# CUBA Charts Add-on | ||
|
||
[![license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0) | ||
[![Build Status](https://travis-ci.org/cuba-platform/bpm.svg?branch=master)](https://travis-ci.org/cuba-platform/npm) | ||
[![Documentation](https://img.shields.io/badge/documentation-online-03a9f4.svg)](https://doc.cuba-platform.com/bpm-latest) | ||
|
||
Charts Add-on provides integration with AmCharts and GoogleMaps for applications based on CUBA Platform. | ||
|
||
For more information see [github.com/cuba-platform/cuba](https://github.com/cuba-platform/cuba). | ||
|
||
## Build and install | ||
|
||
In order to build the add-on from source, you need to install the following: | ||
* Java 8 Development Kit (JDK) | ||
* [CUBA Gradle Plugin](https://github.com/cuba-platform/cuba-gradle-plugin) | ||
* [CUBA](https://github.com/cuba-platform/cuba) | ||
|
||
Let's assume that you have cloned sources into the following directories: | ||
``` | ||
work/ | ||
cuba/ | ||
cuba-gradle-plugin/ | ||
bpm/ | ||
``` | ||
|
||
Open terminal in the `work` directory and run the following command to build and install the plugin into your local Maven repository (`~/.m2`): | ||
``` | ||
cd cuba-gradle-plugin | ||
gradlew install | ||
``` | ||
|
||
After that, go to the cuba directory and build and install it with the same command: | ||
``` | ||
cd ../cuba | ||
gradlew install | ||
``` | ||
|
||
Finally, go to the bpm directory and build and install it with the same command: | ||
``` | ||
cd ../bpm | ||
gradlew install | ||
``` |