From e5e3ded77b2e3b678bfeccd5d1ce4a5feef5f82a Mon Sep 17 00:00:00 2001 From: Jon Stroop Date: Tue, 1 Jul 2014 12:15:38 -0400 Subject: [PATCH] Put tests in a script so that humans OR Travis can run. --- .travis.yml | 5 +---- test.sh | 7 +++++++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100755 test.sh diff --git a/.travis.yml b/.travis.yml index 56bfa3d21..a08d16416 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,7 @@ install: - bundle install - npm install grunt grunt-html --save-dev -script: - - bundle exec jekyll build --drafts - - grunt test - - bundle exec htmlproof ./_site +script: "./test.sh" # environment language: ruby diff --git a/test.sh b/test.sh new file mode 100755 index 000000000..bb63565c7 --- /dev/null +++ b/test.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# +# Run the tests +# +bundle exec jekyll build --drafts +grunt test +bundle exec htmlproof ./_site