Skip to content

Commit

Permalink
add travis, rubocop, and ignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jones committed Jul 11, 2015
1 parent bd2e1df commit 3ee0f21
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 31 deletions.
45 changes: 14 additions & 31 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,18 @@
*.gem
*.rbc
/.config
/.bundle/
/.yardoc
/Gemfile.lock
/_yardoc/
/coverage/
/InstalledFiles
/doc/
/pkg/
/spec/reports/
/test/tmp/
/test/version_tmp/
/tmp/

## Specific to RubyMotion:
.dat*
.repl_history
build/

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalisation:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
*.bundle
*.so
*.o
*.a
mkmf.log
.vagrant/*
.DS_Store
.idea/*
*.gem
30 changes: 30 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

MethodLength:
Max: 200

LineLength:
Max: 160

AbcSize:
Max: 75

FileName:
Enabled: false

PerceivedComplexity:
Enabled: false

CyclomaticComplexity:
Enabled: false

ClassLength:
Enabled: false

IfUnlessModifier:
Enabled: false

RegexpLiteral:
Enabled: false

Style/Documentation:
Enabled: false
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: ruby
cache:
- bundler
install:
- bundle install
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
notifications:
email:
recipients:
- [email protected]
on_success: change
on_failure: always

script:
- 'bundle exec rake default'

0 comments on commit 3ee0f21

Please sign in to comment.