diff --git a/.travis.yml b/.travis.yml
index 9267efe1..3881cdab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,12 +9,12 @@ before_install:
   - gem install danger
 
 before_script:
-  
+
 script:
   - git diff master.. --unified=0 README.md | grep --perl-regexp --only-matching --silent "(?<=^\+).*" >> temp.md || (exit 0)
-  - node test.js temp.md
+  - node tests/test.js temp.md
   - awesome_bot temp.md --allow-redirect || (exit 0)
-  - danger --verbose
+  - danger --dangerfile tests/Dangerfile --verbose
 
 notifications:
   email: false
diff --git a/Dangerfile b/tests/Dangerfile
similarity index 100%
rename from Dangerfile
rename to tests/Dangerfile
diff --git a/test.js b/tests/test.js
similarity index 100%
rename from test.js
rename to tests/test.js