Skip to content

Commit

Permalink
update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
acmetech committed Jun 24, 2017
1 parent f050312 commit 7ba792c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
language: ruby
dist: trusty
sudo: false
bundler_args: "--without documentation --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}"
before_install:
- "rm ${BUNDLE_GEMFILE}.lock"
- "rm -rf spec/dummy"
- gem install bundler
- "gem update --system"
- "gem install bundler"
before_script:
- bundle update
- bundle exec rails dummy:app --trace
- bundle exec rails app:db:migrate RAILS_ENV=test
cache: bundler
cache:
bundler: true
directories:
- node_modules
script:
- bundle exec rspec
- bundle exec codeclimate-test-reporter
- "bundle exec rspec"
- "bundle exec codeclimate-test-reporter"
env:
- DB=postgres
- DB=mysql
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ GEM
thread_safe (~> 0.1)
uglifier (3.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.2.1)
unicode-display_width (1.3.0)
unicode_utils (1.4.0)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
Expand Down

0 comments on commit 7ba792c

Please sign in to comment.