Skip to content

Commit

Permalink
MOBILE-3947 travis: Update linux distribution to Jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyserver committed Jan 19, 2024
1 parent 23a40d8 commit 586aca7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: true
default: 'https://github.com/moodle/moodle'
pull_request:
branches: [ main, ionic7, v*.x ]
branches: [ main, v*.x ]

jobs:
behat:
Expand Down
28 changes: 5 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
os: linux
dist: trusty
node_js: 14
dist: jammy
node_js: 18
jdk:
- oraclejdk11
- openjdk17

git:
depth: 3
Expand All @@ -21,6 +21,7 @@ cache:
- $HOME/Library/Caches/Homebrew

before_install:
- echo -e "machine github.com\n login $GIT_TOKEN" > ~/.netrc
- nvm install
- node --version
- npm --version
Expand All @@ -37,26 +38,7 @@ jobs:
include:
- name: "Build Android"
if: env(DEPLOY) = 1 OR (env(DEPLOY) = 2 AND tag IS NOT blank)
language: android
android:
components:
- tools
- platform-tools
- build-tools-29.0.3
- android-29
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
before_install:
- nvm install
- node --version
- npm --version
- nvm --version
- npm ci
- export JAVA_HOME_COPY=$JAVA_HOME
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle
- yes | sdkmanager "build-tools;32.0.0"
- export JAVA_HOME=$JAVA_HOME_COPY
language: java
addons:
apt:
packages:
Expand Down

0 comments on commit 586aca7

Please sign in to comment.