Skip to content

Commit

Permalink
Merge pull request #21485 from ballerina-platform/travis-fix
Browse files Browse the repository at this point in the history
Disable force rerun gradle tasks from travis.yaml
  • Loading branch information
SupunS authored Mar 6, 2020
2 parents c2afa31 + c37cb77 commit 5f621ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
- export PATH="$PATH;$JAVA_HOME\\bin"
script:
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- ./gradlew.bat build -x test -x createJavadoc --stacktrace -scan --console=plain --no-daemon --rerun-tasks
- ./gradlew.bat build -x test -x createJavadoc --stacktrace -scan --console=plain --no-daemon
# Killing background sleep loop
- kill %1
name: "Build without tests - Windows"
- script:
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- ./gradlew build -x test -x createJavadoc --stacktrace -scan --console=plain --no-daemon --rerun-tasks
- ./gradlew build -x test -x createJavadoc --stacktrace -scan --console=plain --no-daemon
# Killing background sleep loop
- kill %1
name: "Build without tests - Linux"
Expand All @@ -59,7 +59,7 @@ jobs:
name: "Run Build + tests (without integration) - Linux"
script:
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- ./gradlew build -x :jballerina-integration-test:test -x :testerina-integration-test:test -x createJavadoc --stacktrace -scan --console=plain --no-daemon --rerun-tasks
- ./gradlew build -x :jballerina-integration-test:test -x :testerina-integration-test:test -x createJavadoc --stacktrace -scan --console=plain --no-daemon
# Killing background sleep loop
- kill %1
os: linux
Expand All @@ -79,7 +79,7 @@ jobs:
- script:
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
# TODO enable tests for all projects
- ./gradlew.bat build -Dorg.gradle.parallel=false -x :ballerina-packerina:test -x :ballerina-lang:test -x :ballerina-file:test -x :ballerina-socket:test -x :jballerina-unit-test:test -x :jballerina-integration-test:test -x :plugin-vscode:test -x createJavadoc --stacktrace -scan --console=plain --no-daemon --rerun-tasks
- ./gradlew.bat build -Dorg.gradle.parallel=false -x :ballerina-packerina:test -x :ballerina-lang:test -x :ballerina-file:test -x :ballerina-socket:test -x :jballerina-unit-test:test -x :jballerina-integration-test:test -x :plugin-vscode:test -x createJavadoc --stacktrace -scan --console=plain --no-daemon
# Killing background sleep loop
- kill %1
name: "Tests - windows"
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ install:
- cmd: git submodule update --init --recursive
build_script:
- SET MAVEN_OPTS="-Xms1024m"
- gradlew.bat build -x test --info -scan --stacktrace --console=plain --no-daemon
- gradlew.bat build -x test --info -scan --stacktrace --console=plain --no-daemon --no-build-cache
cache:
- C:\maven\ -> appveyor.yml
- C:\Users\appveyor\.m2\ -> pom.xml
Expand Down

0 comments on commit 5f621ee

Please sign in to comment.