You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2019/11/19 08:31:20 UTC

[calcite-avatica] 01/01: Fetch Calcite from apache/calcite repository for integration testing

This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git

commit 5181990dc2e66ba7e03bf167b6f8f0d880d0f503
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Tue Nov 19 11:17:55 2019 +0300

    Fetch Calcite from apache/calcite repository for integration testing
---
 .github/workflows/main.yml | 2 +-
 .travis.yml                | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index bb208d0..04dc708 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -58,7 +58,7 @@ jobs:
         ./gradlew publishToMavenLocal -Pcalcite.avatica.version=1.0.0-dev-master -PskipJavadoc
     - name: 'Test Calcite'
       run: |
-        git clone --branch gradle --depth 100 https://github.com/vlsi/calcite.git ../calcite
+        git clone --depth 100 https://github.com/apache/calcite.git ../calcite
         cd ../calcite
         ./gradlew --no-parallel --no-daemon build -Pcalcite.avatica.version=1.0.0-dev-master-SNAPSHOT -PenableMavenLocal
 
diff --git a/.travis.yml b/.travis.yml
index 7709e79..f0f232e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,13 +25,12 @@ matrix:
         - ./gradlew $GRADLE_ARGS build javadoc
     - name: Calcite/master
       install:
-        - ./gradlew publishToMavenLocal -PskipJavadoc -Pcalcite.avatica.version=42.0
+        - ./gradlew publishToMavenLocal -PskipJavadoc -Pcalcite.avatica.version=1.0.0-dev-master
         - cd ..
         - git clone --depth 10000 https://github.com/apache/calcite.git
         - cd calcite
-        - ./mvnw install -Davatica.version=42.0-SNAPSHOT -Dcheckstyle.skip -DskipTests=true -Dmaven.javadoc.skip=true -Djavax.net.ssl.trustStorePassword=changeit -B -V
       script:
-        - ./mvnw test -Davatica.version=42.0-SNAPSHOT -DskipSlowTests -Dcheckstyle.skip -Dsurefire.useFile=false -Dsurefire.threadCount=1 -Dsurefire.perCoreThreadCount=false -Djavax.net.ssl.trustStorePassword=changeit -Dmaven.javadoc.skip=true
+        - ./gradlew --no-parallel --no-daemon build -Pcalcite.avatica.version=1.0.0-dev-master-SNAPSHOT -PenableMavenLocal
 
 branches:
   only:
@@ -46,10 +45,8 @@ git:
 before_cache:
   - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
   - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
-  - rm -fr $HOME/.m2/repository/org/apache/calcite
 cache:
   directories:
-    - $HOME/.m2
     - $HOME/.gradle/caches/
     - $HOME/.gradle/wrapper/
 # End .travis.yml