diff --git a/regtest/scripts/run b/regtest/scripts/run
index ee4e3580630324778c62b15634da08f2d3e59102..908c4371d336f0afcb6c1e978561dc0fa4dadd78 100755
--- a/regtest/scripts/run
+++ b/regtest/scripts/run
@@ -134,7 +134,14 @@ for file in *.reference ; do
     ../../../scripts/fixzeroes.sh "$file"
     cp "$new" "$new.zfix"
     ../../../scripts/fixzeroes.sh "$new.zfix"
-    out="$(diff "$file" "$new.zfix")"
+    DIFFOPT=""
+# this is to enforce ASCII check
+# I add this option since sometime on travis some of the diff files are not shown
+# (files are thought to be binary for some reason)
+# In this way, at least PLUMED native files (with fields) will be assumed to be
+# ASCII and diff will be shown in the log
+    test "$(cat "$file" | head -c 10)" = "#! FIELDS " && DIFFOPT="-a"
+    out="$(diff $DIFFOPT "$file" "$new.zfix")"
     test -n "$out" && {
       echo FAILURE
       echo "Diff for ${file%.reference}:"