Skip to content

Commit

Permalink
Attempt at travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Vereecken committed Jan 13, 2016
1 parent 3194fb0 commit 5821dc9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
# bundler specific
.gem
.bundle

# npm specific
node_modules
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ language: ruby
rvm:
- 2.2.2

install:
- bundle
- . $HOME/.nvm/nvm.sh
- nvm install 5.0
- nvm use 5.0
- npm install tldr-lint

gemfile:
- Gemfile

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ prerequisites:
@echo "TL;DR:"
@echo "1. Install Ruby suitable for your system"
@echo "2. Run 'gem install bundler'"
@echo "3. Install npm for your system"
@echo

hooks:
Expand All @@ -28,9 +29,11 @@ hooks:

deps:
@bundle
@npm install tldr-lint
@echo "OK"

lint:
@bundle exec mdl --style ./scripts/markdown-style.rb pages
@`pwd`/node_modules/.bin/tldr-lint ./pages

.PHONY: default index setup prerequisites hooks deps lint

0 comments on commit 5821dc9

Please sign in to comment.