Skip to content

Commit 1b7849c

Browse files
committed
check if build speeds up
1 parent 2bc1c16 commit 1b7849c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ install:
4545
- bash .travis/start_db.sh
4646
- bash .travis/install_utplsql.sh
4747
- bash .travis/install_demo_project.sh
48-
- ./gradlew assemble
4948

5049
script:
51-
- ./gradlew check -PtravisBuildNumber=$TRAVIS_BUILD_NUMBER
50+
- ./gradlew check
5251

5352
deploy:
5453
- provider: script
55-
script: ./gradlew uploadArchives -PtravisBuildNumber=$TRAVIS_BUILD_NUMBER
54+
script: ./gradlew uploadArchives
5655
skip_cleanup: true
5756
on:
5857
repository: utPLSQL/utPLSQL-java-api

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ tasks {
9999
dependsOn(downloadResources)
100100

101101
val properties = project.properties.toMutableMap()
102-
properties.putIfAbsent("travisBuildNumber", "local")
102+
properties.putIfAbsent("travisBuildNumber", System.getenv("TRAVIS_BUILD_NUMBER") ?: "local")
103103
expand(properties)
104104

105105
doLast {

0 commit comments

Comments
 (0)