Skip to content

Commit

Permalink
Build fix (#1613)
Browse files Browse the repository at this point in the history
* Changed build environment linux distribution
* Changed jdk in build script
* JDK switcher does not work, try to set it as an configuration attribute. Only execute deploy scripts on winders repository.
  • Loading branch information
breiler committed Jun 14, 2021
1 parent 09f0b3b commit c040f01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dist: trusty
dist: focal
language: java
os: linux
jdk: openjdk13

# Prevent running default install script
install: true
Expand All @@ -11,9 +12,6 @@ cache:
- "ugs-pendant/src/main/webapp/node"
- "ugs-pendant/src/main/webapp/node_modules"

jdk:
- oraclejdk8

before_script:
- sudo apt-get update -qq
- pip install --user codecov
Expand All @@ -36,6 +34,7 @@ deploy:
script: bash scripts/deploy.sh nightly
skip_cleanup: true
on:
repo: winder/Universal-G-Code-Sender
branch: master
tags: false

Expand All @@ -44,6 +43,7 @@ deploy:
script: bash scripts/deploy.sh $TRAVIS_TAG
skip_cleanup: true
on:
repo: winder/Universal-G-Code-Sender
tags: true

env:
Expand Down

0 comments on commit c040f01

Please sign in to comment.