Skip to content

Commit 5252f7c

Browse files
committed
travis-ci: try to fix jdk19 install script
1 parent 1a0b1cb commit 5252f7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ jobs:
111111
- ./nginx -c /home/who/git/nginx-clojure/test/nginx-working-dir/conf/nginx-coroutine.conf -s stop
112112
- stage: jdk19 native coroutine test
113113
script:
114-
- sudo apt-get install openjdk-19-jdk -y
114+
- wget https://download.java.net/java/GA/jdk19.0.1/afdd2e245b014143b62ccb916125e3ce/10/GPL/openjdk-19.0.1_linux-x64_bin.tar.gz
115+
- tar -xzvf openjdk-19.0.1_linux-x64_bin.tar.gz
116+
- export JAVA_HOME=`pwd`/jdk-19.0.1
117+
- export PATH=$JAVA_HOME/bin:$PATH
115118
- java -version
116119
- cd /home/who/git/nginx-clojure/
117120
- lein with-profile nativeCoroutine jar

0 commit comments

Comments
 (0)