diff --git a/.travis.yml b/.travis.yml index 8d69bf3..c9d1f51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,11 @@ notifications: template: - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}" -dist: trusty +#dist: trusty language: ruby rvm: - - 2.3.0 + - 2.2 + # ruby 2.3 works but isn't stable on travis addons: apt: @@ -29,7 +30,7 @@ addons: # workaround for https://github.com/travis-ci/travis-ci/issues/4536 before_install: - - export GEM_HOME=$PWD/vendor/bundle/ruby/2.3.0 + - export GEM_HOME=$PWD/vendor/bundle/ruby/2.2.0 - gem install bundler cache: bundler @@ -40,7 +41,7 @@ before_script: # database - cp config/database.yml.travis config/database.yml - psql -c 'create database myapp_test;' -U postgres - - bundle exec rake db:schema:load &>/dev/null + - bundle exec rake db:schema:load - bundle exec rake db:migrate &>/dev/null env: -- libgit2 0.21.2