MOBILE-3947 travis: Update linux distribution to Jammy
parent
23a40d8bbb
commit
586aca7675
|
@ -16,7 +16,7 @@ on:
|
||||||
required: true
|
required: true
|
||||||
default: 'https://github.com/moodle/moodle'
|
default: 'https://github.com/moodle/moodle'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, ionic7, v*.x ]
|
branches: [ main, v*.x ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
behat:
|
behat:
|
||||||
|
|
28
.travis.yml
28
.travis.yml
|
@ -1,8 +1,8 @@
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: jammy
|
||||||
node_js: 14
|
node_js: 18
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk11
|
- openjdk17
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 3
|
depth: 3
|
||||||
|
@ -21,6 +21,7 @@ cache:
|
||||||
- $HOME/Library/Caches/Homebrew
|
- $HOME/Library/Caches/Homebrew
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
- echo -e "machine github.com\n login $GIT_TOKEN" > ~/.netrc
|
||||||
- nvm install
|
- nvm install
|
||||||
- node --version
|
- node --version
|
||||||
- npm --version
|
- npm --version
|
||||||
|
@ -37,26 +38,7 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- name: "Build Android"
|
- name: "Build Android"
|
||||||
if: env(DEPLOY) = 1 OR (env(DEPLOY) = 2 AND tag IS NOT blank)
|
if: env(DEPLOY) = 1 OR (env(DEPLOY) = 2 AND tag IS NOT blank)
|
||||||
language: android
|
language: java
|
||||||
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
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
|
Loading…
Reference in New Issue