diff --git a/.travis.yml b/.travis.yml
index eb057869713c86171726e250595b4083bd3076d9..4d5fad4ec8402ff693e00103095637d7ab70fd73 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
 language: php
 
 addons:
-  postgresql: "9.4"
+  postgresql: "9.5"
 
 services:
   - mysql
@@ -14,13 +14,13 @@ cache:
     - $HOME/.npm
 
 php:
-  - 7.1
   - 7.2
   - 7.3
+  - 7.4
 
 env:
   global:
-    - MOODLE_BRANCH=MOODLE_38_STABLE
+    - MOODLE_BRANCH=MOODLE_39_STABLE
   matrix:
     - DB=pgsql
     - DB=mysqli
diff --git a/CHANGES.md b/CHANGES.md
index 93e086731e70f8d3b2347f10862e5900f810b7d7..1c402d8089c4bac4e2e111dd02be307c2ae016f0 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -4,6 +4,10 @@ moodle-theme_boost_campus
 Changes
 -------
 
+### Unreleased
+
+* 2020-09-02 - Prepare compatibility for Moodle 3.9.
+
 ### Release v3.8-r5
 
 * 2020-09-01 - Fixed bug that multiple imagearea rows are displayed dependent on the amount of uploaded images.
diff --git a/README.md b/README.md
index 30c4b6bc0a8a81a592e7bd031e1214103f73365b..65ae853a4a70f2271b661e25d51438b237141523 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Moodle Boost child theme which is intended to meet the needs of university campu
 Requirements
 ------------
 
-This plugin requires Moodle 3.8+
+This plugin requires Moodle 3.9+
 
 
 Motivation for this theme
diff --git a/version.php b/version.php
index 7f3af71ee69b86f0a712a764038b41fc1cb46c6c..694ebea8edb57b4a98f7df1ac51732a124688ffa 100644
--- a/version.php
+++ b/version.php
@@ -27,6 +27,6 @@ defined('MOODLE_INTERNAL') || die();
 $plugin->component = 'theme_boost_campus';
 $plugin->version = 2020090100;
 $plugin->release = 'v3.8-r5';
-$plugin->requires = 2019111804;
+$plugin->requires = 2020061500;
 $plugin->maturity = MATURITY_STABLE;
-$plugin->dependencies = array('theme_boost' => 2019111800);
+$plugin->dependencies = array('theme_boost' => 2020061500);