Commit 373433afd6e862005793807062c67e8c3fdfe275

Authored by Braulio Bhavamitra
1 parent 8c95ebeb

travis: move back to ruby 2.2 as 2.3 is unstable on travis

Showing 1 changed file with 5 additions and 4 deletions   Show diff stats
@@ -6,10 +6,11 @@ notifications: @@ -6,10 +6,11 @@ notifications:
6 template: 6 template:
7 - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}" 7 - "%{repository_slug} %{branch} %{commit} %{commit_subject} - %{result} %{build_url}"
8 8
9 -dist: trusty 9 +#dist: trusty
10 language: ruby 10 language: ruby
11 rvm: 11 rvm:
12 - - 2.3.0 12 + - 2.2
  13 + # ruby 2.3 works but isn't stable on travis
13 14
14 addons: 15 addons:
15 apt: 16 apt:
@@ -29,7 +30,7 @@ addons: @@ -29,7 +30,7 @@ addons:
29 30
30 # workaround for https://github.com/travis-ci/travis-ci/issues/4536 31 # workaround for https://github.com/travis-ci/travis-ci/issues/4536
31 before_install: 32 before_install:
32 - - export GEM_HOME=$PWD/vendor/bundle/ruby/2.3.0 33 + - export GEM_HOME=$PWD/vendor/bundle/ruby/2.2.0
33 - gem install bundler 34 - gem install bundler
34 cache: bundler 35 cache: bundler
35 36
@@ -40,7 +41,7 @@ before_script: @@ -40,7 +41,7 @@ before_script:
40 # database 41 # database
41 - cp config/database.yml.travis config/database.yml 42 - cp config/database.yml.travis config/database.yml
42 - psql -c 'create database myapp_test;' -U postgres 43 - psql -c 'create database myapp_test;' -U postgres
43 - - bundle exec rake db:schema:load &>/dev/null 44 + - bundle exec rake db:schema:load
44 - bundle exec rake db:migrate &>/dev/null 45 - bundle exec rake db:migrate &>/dev/null
45 46
46 env: 47 env: