Skip to content

Commit e5e3ded

Browse files
committed
Put tests in a script so that humans OR Travis can run.
1 parent 5f30c54 commit e5e3ded

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ install:
66
- bundle install
77
- npm install grunt grunt-html --save-dev
88

9-
script:
10-
- bundle exec jekyll build --drafts
11-
- grunt test
12-
- bundle exec htmlproof ./_site
9+
script: "./test.sh"
1310

1411
# environment
1512
language: ruby

test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
#
3+
# Run the tests
4+
#
5+
bundle exec jekyll build --drafts
6+
grunt test
7+
bundle exec htmlproof ./_site

0 commit comments

Comments
 (0)