You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2021/06/01 03:03:10 UTC
[airavata-data-lake] 03/42: Enabling the travis build
This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-data-lake.git
commit 10266978c902a3db2b7ae540f9563e373175eb97
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Fri Dec 11 04:22:36 2020 -0500
Enabling the travis build
---
.gitignore | 6 +++++-
.travis.yml | 36 ++++++++++++++++++++++++++++++++++++
pom.xml | 15 ++++++++++++++-
3 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 5559ec0..753237f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,8 @@
airavata-data-lake.iml
data-orchestrator/data-orchestrator.iml
data-orchestrator/data-orchestrator-api/data-orchestrator-api.iml
-data-orchestrator/data-orchestrator-core/data-orchestrator-core.iml
\ No newline at end of file
+data-orchestrator/data-orchestrator-core/data-orchestrator-core.iml
+target/
+data-orchestrator/target
+data-orchestrator/data-orchestrator-core/target
+data-orchestrator/data-orchestrator-api/target
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..9f37705
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,36 @@
+#
+# 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
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+language: java
+
+sudo: false
+
+notifications:
+ email:
+ on_success: change
+ on_failure: always
+
+jdk:
+ - oraclejdk11
+
+script: mvn clean install
+
+# Git-describe Maven plugin needs the full history
+git:
+ depth: false
diff --git a/pom.xml b/pom.xml
index b3e53b6..48bcf01 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,6 +50,19 @@
<url>https://issues.apache.org/jira/browse/AIRAVATA</url>
</issueManagement>
-
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.6.1</version>
+ <configuration>
+ <source>11</source>
+ <target>11</target>
+ <fork>true</fork>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>