Skip to content

Commit

Permalink
Configure Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrown608 committed Feb 7, 2018
1 parent 41c8603 commit 45295a3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
@@ -0,0 +1,21 @@
language: ruby
cache:
bundler: true
directories:
- node_modules
rvm:
- 2.4
services:
- postgresql
before_install:
- gem install bundler
install:
- bundle install --path vendor/bundle
- yarn install
before_script:
- psql -c 'create database "check-your-reps_test";' -U postgres
script:
- bundle exec rubocop
- ./node_modules/.bin/sass-lint -vq
- ./node_modules/.bin/eslint app/javascript
- bundle exec rspec

0 comments on commit 45295a3

Please sign in to comment.