Support OTP-21
diff --git a/.travis.yml b/.travis.yml
index 8e97859..d281764 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,7 @@
 
 os: linux
 otp_release:
+  - 21.0
   - 20.0
   - 19.3
   - 18.3
@@ -17,7 +18,7 @@
   - ./rebar3 dialyzer
   - ./rebar3 edoc
   - ./rebar3 cover
-  - ./rebar3 covertool generate
+  - ./rebar3 as test covertool generate
   - cp _build/test/covertool/local.covertool.xml ./cobertura.xml
 
 after_success:
diff --git a/rebar.config b/rebar.config
index cac510a..32d54d6 100644
--- a/rebar.config
+++ b/rebar.config
@@ -24,8 +24,6 @@
 
 {shell, [{apps, [local]}]}.
 
-{plugins, [rebar_covertool]}.
-
 {dialyzer,
  [
   {warnings, [error_handling, race_conditions, unmatched_returns, unknown, no_improper_lists]}
@@ -34,3 +32,11 @@
 {deps,
   [
   ]}.
+
+{profiles,
+ [
+  {test,
+   [
+    {plugins, [covertool]}
+   ]}
+ ]}.