summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2016-11-09 21:50:26 -0800
committerGitHub <noreply@github.com>2016-11-09 21:50:26 -0800
commitf5f8bc75ad7595c8e17af9792251736f28faf265 (patch)
tree964a022cf50d98716f4f686bb7b426cba3073df2 /Rakefile
parente837e25a70384d33fc3083d9f2382c31591f548e (diff)
parent0a0acadf06661b004dd9bbf3797cdd3d15edab96 (diff)
Merge pull request #2561 from samcv/Travis-CI
Add support for checking YAML validity using Travis CI
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 00000000..0193d816
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,11 @@
+task default: %w[test]
+
+task :test do
+ Dir["./tests/*.rb"].each do |test_file|
+ begin
+ ruby test_file
+ rescue
+ puts "FAILED #{test_file}!"
+ end
+ end
+end