Skip to content

Commit

Permalink
Merge pull request #262 from IIIF/test_script
Browse files Browse the repository at this point in the history
Put tests in a script so that humans OR Travis can run.
  • Loading branch information
azaroth42 committed Jul 1, 2014
2 parents 31e2a8f + e5e3ded commit 5d1ebf4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
#
# Run the tests
#
bundle exec jekyll build --drafts
grunt test
bundle exec htmlproof ./_site

0 comments on commit 5d1ebf4

Please sign in to comment.