diff --git a/.travis.yml b/.travis.yml
index e6e8a01ba7ef90805dbcaaf110665c4db1944a12..9df8faf88b5aa20bc9f4564025e0bf54039ac5d2 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 41cbd553de63455dbe3fe28f49fa818a51ccaf42..e192db90f4f11b3d81c63ad95d6bbd24bb0a6f56 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -4,6 +4,10 @@ moodle-theme_boost_campus_child
 Changes
 -------
 
+### Unreleased
+
+* 2020-10-06 - Prepare compatibility for Moodle 3.9.
+
 ### v3.8-r2
 
 * 2020-10-05 - Fixed bug that setting addablockposition was not applied to Boost Campus Child.
diff --git a/README.md b/README.md
index 3d96c3d549d1e852c80467913304c66c83532b38..73b884bc8712640aa988bf6aff0ce69afb4ab645 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Moodle Boost Campus child theme which is intended to get the full Boost Campus f
 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 e6361da4f2c28069a1f3f7a7482ce1ad27cf3bff..74bca55bfe1104f9b33b8f1927885b466cd58597 100644
--- a/version.php
+++ b/version.php
@@ -27,6 +27,6 @@ defined('MOODLE_INTERNAL') || die();
 $plugin->component = 'theme_boost_campus_child';
 $plugin->version = 2020100600;
 $plugin->release = 'v3.8-r2';
-$plugin->requires = 2019111800;
+$plugin->requires = 2020061500;
 $plugin->maturity = MATURITY_STABLE;
-$plugin->dependencies = array('theme_boost' => 2019111800, 'theme_boost_campus' => 2020032400);
+$plugin->dependencies = array('theme_boost' => 2020061500, 'theme_boost_campus' => 2020093000);